mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
sqlite small doc update, and bump dep library
This commit is contained in:
@@ -106,7 +106,7 @@ module.exports = function(RED) {
|
||||
if (node.sqlquery == "prepared"){
|
||||
if (typeof node.sql === 'string' && typeof msg.params !== "undefined" && typeof msg.params === "object") {
|
||||
if (node.sql.length > 0) {
|
||||
node.mydbConfig.db.all(node.sql, msg.params, function(err, row) {
|
||||
node.mydbConfig.db.all(node.sql, msg.params, function(err, row) {
|
||||
if (err) { node.error(err,msg); }
|
||||
else {
|
||||
msg.payload = row;
|
||||
|
||||
Reference in New Issue
Block a user