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

fix: error when the query string contains apostrophe #135

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

Goodmain
Copy link
Contributor

@Goodmain Goodmain commented Jul 24, 2024

Ref #132

I checked the fix on MySQL and PostgreSQL projects.

For MySQL here are the docs about the escaping https://dev.mysql.com/doc/refman/8.4/en/string-literals.html

And for the PostgreSQL https://www.postgresql.org/docs/8.1/sql-syntax.html#:~:text=The%20standard%2Dcompliant%20way%20of,with%20a%20backslash%20(%5C').

@Goodmain Goodmain requested a review from DenTray July 24, 2024 17:48
@DenTray DenTray merged commit 5651f4c into master Jul 25, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants