-
Notifications
You must be signed in to change notification settings - Fork 23
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
Escape identifiers automatically #14
Comments
@sajithnechiparambil Do you mean escape characters according to the SQL provider? Such as PostGreSQL using |
Yes |
@sajithnechiparambil You're welcome to start a PR for this, I don't have any time to dedicate to this project these days and this is a big undertaking as well. The columns could be easy, but this project was meant as a quick helper, for from a full SQL parser, which would be required to properly support this since the columns, order by clauses and where clauses, even from clauses would need to be parsed to properly escape them. The basic example uses If I end up working on it some time, I'll try to get it done, but otherwise, I'll simply wait for a PR! |
column names with '[columnName]'.
Example:
SELECT [Id], [Name], [Age] FROM [Register]
The text was updated successfully, but these errors were encountered: