Template variables for table names in raw SQL template? #1084
Unanswered
JohnFoxtrot
asked this question in
Q&A
Replies: 0 comments
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.
-
In the SQL`` template documentation, there's an implication that we can use template variables for table names:
When I attempt to do so with the following in a NodeJS/PostgresJS project:
I get the following error:
PostgresError: syntax error at or near "$1"
Am I missing something from the documentation?
Beta Was this translation helpful? Give feedback.
All reactions