Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use prepared statement #47

Open
KenjiOhtsuka opened this issue Jul 19, 2018 · 0 comments
Open

Use prepared statement #47

KenjiOhtsuka opened this issue Jul 19, 2018 · 0 comments
Assignees

Comments

@KenjiOhtsuka
Copy link
Owner

KenjiOhtsuka commented Jul 19, 2018

Is your feature request related to a problem? Please describe.

For varchar default value a'a\',
in MySQL it must be escaped as a''a\\'' or a\'\a\\',
but in PostgreSQL it must be escaped as a''a\''.

Describe the solution you'd like

Remove sqlDefault property from Column classes and escape values in DbAdapter.

@KenjiOhtsuka KenjiOhtsuka self-assigned this Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant