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

Easy win: check for missing bound parameters #346

Open
g105b opened this issue Mar 16, 2023 · 0 comments
Open

Easy win: check for missing bound parameters #346

g105b opened this issue Mar 16, 2023 · 0 comments
Milestone

Comments

@g105b
Copy link
Member

g105b commented Mar 16, 2023

When I miss passing a bound parameter, I see the error message You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near :theNameOfTheMissedParam

This is because that string isn't being replaced, and isn't valid SQL.

This should be easy to detect and provide a more meaningful error message with.

This will improve #29 too.

@g105b g105b added this to the v2 milestone Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant