mirror of
				https://github.com/node-red/node-red-nodes.git
				synced 2025-03-01 10:37:43 +00:00 
			
		
		
		
	bump sqlite node deps for Node12 support
This commit is contained in:
		@@ -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 <b>db.all</b> 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 <i>query</i> 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 <code>msg.extension</code> 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**
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user