I am working with the pg module for node. I am trying to get some rows from different tables. Often times i get an error in my tests when accessing rows because the query came back empty. In that case i would like to get the query with parameters inserted in the console so i can paste it to pgAdmin and see what is wrong easier.
I tried searching for it in the pg docs but couldnt find anything.
Is there a way to output the queries?