-
Hi, it would sometimes be benefitial to run query files from psql for debugging purposes or database unit tests. However if I am not mistaken this would currently only work for non parametrized queries, because pg does not know about Thanks in advance :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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. |
Beta Was this translation helpful? Give feedback.
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.