diff --git a/storage/sqlite/README.md b/storage/sqlite/README.md index 12e5a91e..ab4f8f27 100644 --- a/storage/sqlite/README.md +++ b/storage/sqlite/README.md @@ -16,22 +16,21 @@ devices like a Raspberry Pi - please be prepared to wait a long time. Also if no cd ~/.node-red npm rebuild - Usage ----- Allows basic access to a Sqlite database. -This node uses the db.all operation against the configured database. +This node uses the **db.all** operation against the configured database. This does allow INSERTS, UPDATES and DELETES. By it's very nature it is SQL injection... so *be careful* out there... -`msg.topic` must hold the query for the database, and the result is returned in `msg.payload`. +`msg.topic` must hold the *query* for the database, and the result is returned in `msg.payload`. Typically the returned payload will be an array of the result rows, (or an error). -You can load sqlite extensions by inputting a msg.extension property containing the full path and filename. +You can load sqlite extensions by inputting a `msg.extension` property containing the full path and filename. The reconnect timeout in milliseconds can be changed by adding a line to **settings.js** diff --git a/storage/sqlite/package.json b/storage/sqlite/package.json index fd75b2e2..033e36e9 100644 --- a/storage/sqlite/package.json +++ b/storage/sqlite/package.json @@ -1,9 +1,9 @@ { "name": "node-red-node-sqlite", - "version": "0.3.7", + "version": "0.4.0", "description": "A sqlite node for Node-RED", "dependencies": { - "sqlite3": "^4.0.6" + "sqlite3": "^4.1.0" }, "repository": { "type": "git",