node-red-node-mysql
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -163,3 +163,6 @@ | ||
if (rows[0][0] && rows[0][0].constructor.name === "RowDataPacket") { | ||
msg.payload = rows.map(v => v.map(w => Object.assign({}, w))); | ||
msg.payload = rows.map(function(v) { | ||
if (!Array.isArray(v)) { return v; } | ||
v.map(w => Object.assign({}, w)) | ||
}); | ||
} | ||
@@ -166,0 +169,0 @@ else { msg.payload = rows; } |
{ | ||
"name": "node-red-node-mysql", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "A Node-RED node to read and write to a MySQL database", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16160
196