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

Unable to setup the smart tag to prevent escaping #27

Open
leandroltavares opened this issue May 25, 2021 · 2 comments
Open

Unable to setup the smart tag to prevent escaping #27

leandroltavares opened this issue May 25, 2021 · 2 comments

Comments

@leandroltavares
Copy link

For the following SQL statement, if we prefer for the double quotes it prevents an escape for the inner foo string.

store.execute("INSERT INTO table (col1, col2) VALUES (1, 'foo')")

I've played around with the double-avoid-escape smart tag, but no combination seems to work, so unclear for me what should be used to handle this scenario and prevent the message.

C4001: Invalid string quote ", should be ' (invalid-string-quote)

@edaniszewski
Copy link
Owner

thanks for the issue and offending code sample. I'll dig into this later today and see what I can figure out

@leandroltavares
Copy link
Author

Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants