Skip to content

Is there an easy way to use (parametrized) query files inside psql #835

Answered by vitaly-t
on3iro asked this question in Q&A
Discussion options

You must be logged in to vote

Queries designed for use with pg-promise are quite unrelated to query files for psql. The former depend on values to be passed in from a NodeJS script. You cannot make it work via psql, apart from for queries that do not use any variables.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@on3iro
Comment options

Answer selected by on3iro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants