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

Impossible to use the '%' character in a db query (MySQL) #369

Open
albertoakg opened this issue Jul 25, 2022 · 0 comments
Open

Impossible to use the '%' character in a db query (MySQL) #369

albertoakg opened this issue Jul 25, 2022 · 0 comments
Labels
triage/pending Issue or PR is pending for triage and prioritization.

Comments

@albertoakg
Copy link

Description

It's not possible to use the % character in a query using MySQL driver.
My query is a matter like that: SELECT filed1, filed2, filed3 FROM table1 WHERE field2 LIKE '%abcdef%'
But in this form, it doesn't work. Instead, it works well if I don't use the LIKE with %.
I already tried to escape this character with \ and with ", but it continues to not work.

Expected Behavior

I expect that the query works with %

@davidgit davidgit added the triage/pending Issue or PR is pending for triage and prioritization. label Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/pending Issue or PR is pending for triage and prioritization.
Projects
None yet
Development

No branches or pull requests

2 participants