BuchananFab
Results
2
comments of
BuchananFab
Switching a working flow from the (node-red-node-mysql) node to this, I encounter the same error. It seems it's because the (node-red-node-mysql) node accepts an array for msg.payload arguments. I cannot...
//Solution was changing this: msg.payload = [tag1, tag2]; msg.topic = 'INSERT INTO MY_DB(Time, Psi) VALUES (?,?)'; //to this: msg.payload = {tag1, tag2}; msg.topic = 'INSERT INTO MY_DB(Time, Psi) VALUES (:tag1,:tag2)';