Skip to content

Passing on received message object #51

Answered by Alkarex
joaoroscoe asked this question in Q&A
Discussion options

You must be logged in to vote

I am not sure of your exact use-case, but it is pretty standard for Node-RED nodes to use msg.payload for the main input and output.
If you need to persist some information, you can always put a copy in msg.somethingElse, which should be available even after passing through node-red-contrib-postgresql.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by joaoroscoe
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