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
Force escapeId to emit backtick #101
Comments
|
Hello Raefaldhi! You bug report is pretty much void of any actionable information. Please explain in detail what you tried to do, and what the result was, and what the expected result should have been. Example reading: https://testlio.com/blog/the-ideal-bug-report/ and most importantly read https://github.com/mariadb-corporation/mariadb-connector-nodejs#contributing |
|
EscapeId implementation only use quote for identifiers that don't contain special characters. Current implementation doesn't handle identifier that are reserved words, only ensure escaping. That would make sense to always quote, to handle reserved words. |
|
released in 2.3.0 |
Hello,
I've just encountered error in my sql because i have
toas column name although i had escaped the name withescapeId. it turns out that escapeId only emit the backtick if satisfied by some criteria.The text was updated successfully, but these errors were encountered: