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

Ignore interpolation and escapes in the generated query string #74

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

jonatanklosko
Copy link
Member

Closes elixir-explorer/explorer#949.

Changes the generated code to always use ~S, so that there is no accidental (or mistaken) interpolation and escaping. This makes sense semantically, because the user writes an SQL query, so nothing about it should be interpreted as in Elixir. For interpolation we already have a specific syntax.

@jonatanklosko jonatanklosko merged commit 9b839b0 into main Jul 26, 2024
1 check passed
@jonatanklosko jonatanklosko deleted the jk-interpolation branch July 26, 2024 13:50
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

Successfully merging this pull request may close these issues.

Duckdb select statement only works on non first line in the cell
2 participants