Skip to content

Commit 2ca330f

Browse files
author
Dave Conway-Jones
committed
sqlite small doc update, and bump dep library
1 parent ca0b01d commit 2ca330f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

storage/sqlite/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Install
88

99
Run the following command in your Node-RED user directory - typically `~/.node-red`
1010

11-
npm install node-red-node-sqlite
11+
npm i --unsafe-perm node-red-node-sqlite
1212

1313

1414
Usage

storage/sqlite/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "node-red-node-sqlite",
3-
"version": "0.3.5",
3+
"version": "0.3.6",
44
"description": "A sqlite node for Node-RED",
55
"dependencies": {
6-
"sqlite3": "^4.0.2"
6+
"sqlite3": "^4.0.4"
77
},
88
"repository": {
99
"type": "git",

storage/sqlite/sqlite.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ module.exports = function(RED) {
106106
if (node.sqlquery == "prepared"){
107107
if (typeof node.sql === 'string' && typeof msg.params !== "undefined" && typeof msg.params === "object") {
108108
if (node.sql.length > 0) {
109-
node.mydbConfig.db.all(node.sql, msg.params, function(err, row) {
109+
node.mydbConfig.db.all(node.sql, msg.params, function(err, row) {
110110
if (err) { node.error(err,msg); }
111111
else {
112112
msg.payload = row;

0 commit comments

Comments
 (0)