Skip to content

LIKE operator not working properly with prepared statemets #57

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

Open
arsenitem opened this issue Jan 25, 2021 · 0 comments
Open

LIKE operator not working properly with prepared statemets #57

arsenitem opened this issue Jan 25, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@arsenitem
Copy link

I have code like this
local query = [[
SELECT ID, NAME FROM table
WHERE NAME LIKE '%?%'
]]
local data, err = conn:execute(query, name)
Instead of receiving a record i got an empty table
The same query works when using dbeaver(for example)

@kyukhin kyukhin added bug Something isn't working teamE labels Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants