mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Update README.md
This commit is contained in:
parent
f521073442
commit
ae15556d71
@ -37,7 +37,7 @@ When using Via msg.topic or Batch without response msg.topic must hold the query
|
||||
When using Via msg.topic, parameters can be passed in the query using a msg.payload array. Ex:
|
||||
|
||||
```
|
||||
msg.topic = `INSERT INTO table (name, surname) VALUES ($name, $surname)`
|
||||
msg.topic = `INSERT INTO user_table (name, surname) VALUES ($name, $surname)`
|
||||
msg.payload = ["John", "Smith"]
|
||||
return msg;
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user