From 211988017fbc75faf8871b0a893da0dee20c12d6 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Sat, 11 Aug 2018 14:03:16 +0100 Subject: [PATCH] Let sqlite open RO as well as RW Also better reuse of connection object --- storage/sqlite/package.json | 2 +- storage/sqlite/sqlite.html | 15 +++++++++++++-- storage/sqlite/sqlite.js | 7 ++++++- 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/storage/sqlite/package.json b/storage/sqlite/package.json index fac13671..7bf56945 100644 --- a/storage/sqlite/package.json +++ b/storage/sqlite/package.json @@ -1,6 +1,6 @@ { "name": "node-red-node-sqlite", - "version": "0.3.0", + "version": "0.3.2", "description": "A sqlite node for Node-RED", "dependencies": { "sqlite3": "^4.0.2" diff --git a/storage/sqlite/sqlite.html b/storage/sqlite/sqlite.html index 78a0d322..923f817c 100644 --- a/storage/sqlite/sqlite.html +++ b/storage/sqlite/sqlite.html @@ -4,13 +4,24 @@ +
+ + +
+
Note: Setting the database name to :memory: + will create a non-persistant in memory database.