Adapt placeholder formats based on the SQL dialect #4969
PrettyWood
started this conversation in
Ideas
Replies: 1 comment
-
Yes, good point. At the moment we don't really have a "param" format in PRQL — we just pass everything through. With that proposal, how would we handle multiple Could we use Postgres's named params? I'm looking at https://stackoverflow.com/questions/7389416/postgresql-how-to-pass-parameters-from-command-line, seems to suggest |
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
-
Hello everyone.
Sorry if I didn't find an issue already opened regarding this topic.
Currently
will always be compiled into
even if the dialect is gbq or sqlite.
It would be great if it could compile to
for example.
Of course there is the issue of positional vs named params. Postgres doesn't support named params so maybe we should support only positional params for now or support also
$name
but panic if translated to postgres for exampleWDYT?
Beta Was this translation helpful? Give feedback.
All reactions