mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Add prowl, nma and pushover to npm, update all to fa icons
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
node-red-contrib-sqlite
|
||||
=======================
|
||||
|
||||
A Node-Red node to read and write a local sqlite database.
|
||||
|
||||
Install
|
||||
@@ -13,4 +14,16 @@ Run the following command in the root directory of your Node-RED install
|
||||
Usage
|
||||
-----
|
||||
|
||||
tbd
|
||||
Allows basic access to a Sqlite database.
|
||||
|
||||
This node uses the <b>db.all</b> 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**.
|
||||
|
||||
Typically the returned payload will be an array of the result rows, (or an error).
|
||||
|
||||
The reconnect timeout in milliseconds can be changed by adding a line to **settings.js**
|
||||
|
||||
sqliteReconnectTime: 20000,
|
||||
|
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"name" : "node-red-contrib-sqlite",
|
||||
"version" : "0.0.3",
|
||||
"name" : "node-red-node-sqlite",
|
||||
"version" : "0.0.2",
|
||||
"description" : "A sqlite node for Node-RED",
|
||||
"dependencies" : {
|
||||
"sqlite3" : "2.x"
|
||||
},
|
||||
"repository" : {
|
||||
"type":"git",
|
||||
"url":"https://github.com/dceejay/node-red-contrib-sqlite.git"
|
||||
"url":"https://github.com/node-red/node-red-nodes/storage/sqlite/"
|
||||
},
|
||||
"license": "Apache",
|
||||
"keywords": [ "node-red", "sqlite" ],
|
||||
|
@@ -16,7 +16,7 @@
|
||||
|
||||
<script type="text/x-red" data-template-name="sqlitedb">
|
||||
<div class="form-row">
|
||||
<label for="node-config-input-db"><i class="icon-briefcase"></i> Database</label>
|
||||
<label for="node-config-input-db"><i class="fa fa-database"></i> Database</label>
|
||||
<input type="text" id="node-config-input-db" placeholder="/tmp/sqlite">
|
||||
</div>
|
||||
</script>
|
||||
@@ -36,11 +36,11 @@
|
||||
|
||||
<script type="text/x-red" data-template-name="sqlite">
|
||||
<div class="form-row">
|
||||
<label for="node-input-mydb"><i class="icon-briefcase"></i> Database</label>
|
||||
<label for="node-input-mydb"><i class="fa fa-database"></i> Database</label>
|
||||
<input type="text" id="node-input-mydb">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
|
||||
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
||||
<input type="text" id="node-input-name" placeholder="Name">
|
||||
</div>
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user