Replies: 1 comment
-
No way to do this today. psycopg2 for example "hides" it by doing templating FOR YOU but it's still doing templating. Needs some research to explore possible solutions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there,
The following query won't work, because IN clause expansion won't be done properly.
Depending on the type (list or tuple),
("value1", "value2")
will either be expanded to:or
and this will result in the following error on trino:
Is there any way to perform a clean IN clause expansion, without fully templating the clause before (which might not be sql-injection safe)?
Thank you for the help,
Beta Was this translation helpful? Give feedback.
All reactions