How to do a TRUNCATE query with multiple tables? #447
Unanswered
sebastorama
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm just starting to use Slonik and currently trying to setup testing.
I could gather all the table names successfully, but can't generate the actual truncate query, like so:
This is giving me a
error: syntax error at or near "$1".Logging the query object gives me:
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions