We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mix credo -v
elixir -v
Use multiline string to wrap SQL query similar to:
execute( """ INSERT INTO my_table ("group", name) SELECT "group", name FROM another_table; """, "DELETE FROM my_table;" )
Seems similar to #611 but using github dep I was still getting the issue.
Note quotes were needed around column name because it is an SQL keyword.
No error from Credo.Check.Readability.StringSigils since ~s cannot be used here because the string has () in it which ends the sigil.
()
┃ [R] ↘ More than 3 quotes found inside string literal, consider using a sigil ┃ instead.
The text was updated successfully, but these errors were encountered:
After updating to 1.0.5 the issue seems to have been fixed.
Sorry, something went wrong.
No branches or pull requests
Environment
mix credo -v
): 1.0.3elixir -v
): 1.8.1What were you trying to do?
Use multiline string to wrap SQL query similar to:
Seems similar to #611 but using github dep I was still getting the issue.
Note quotes were needed around column name because it is an SQL keyword.
Expected outcome
No error from Credo.Check.Readability.StringSigils since ~s cannot be used here because the string has
()
in it which ends the sigil.Actual outcome
The text was updated successfully, but these errors were encountered: