-
I need to write a function and pass complete sql string to postgresjs, something like this:
The above function doesn't work. How can I create such a function? |
Beta Was this translation helpful? Give feedback.
Answered by
porsager
Jan 29, 2024
Replies: 1 comment 1 reply
-
Check out .unsafe in the documentation ;) https://github.com/porsager/postgres#unsafe-raw-string-queries |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lnlife
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check out .unsafe in the documentation ;) https://github.com/porsager/postgres#unsafe-raw-string-queries