I am trying to use node node-red-contrib-postgres-multi to execute multipe queries
My payload :
msg.payload=[
{
query:'select * from pjDefVisas;',
output:true
},
{
query:'select * from pjDefStatut;',
output:true
},
]
When I click on the inject button nothing happens.
I am sure about the configuration of the postgres node because I use the same values when I use the classic nodered-contrib-postgresql node.
This module is designed assuming you will only use this one or Kris' original version in a project, but not both at the same time. You can replace one with the other in your project and your flows will remain connected.
Have you removed the other node/config?
If you want the output of one or more queries, check the 'Receive output' box in the postgres node and include an output: true
Thanks for your answer !
Effectively, I already used nodered-contrib-postgresql
So I have to update all my queries to replace it with nodered-contrib-postgres-multi