1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
node-red-nodes/storage/leveldb
2014-07-06 20:58:52 +01:00
..
icons Update some icons 2014-06-04 22:29:09 +01:00
67-leveldb.html Added list of Nodes to he ReadME so people can see what's there without digging... Bunch of cleanups to node-red-nodes... mainly just removing tabs -> spaces and stuff. No code changes... 2013-11-10 17:01:19 +00:00
67-leveldb.js Update node-red-nodes sample, analysis, storage and time nodes to use strict and pass jshint scan 2014-06-28 23:37:19 +01:00
LICENSE Add xmpp, suncalc and leveldb as npms... 2014-07-06 20:58:52 +01:00
package.json Add xmpp, suncalc and leveldb as npms... 2014-07-06 20:58:52 +01:00
README.md Add xmpp, suncalc and leveldb as npms... 2014-07-06 20:58:52 +01:00

node-red-node-leveldb

A Node-RED node to read and write to a LevelDB database.

Install

Run the following command in the root directory of your Node-RED install

npm install node-red-node-leveldb

Usage

Allows basic access to a LevelDB database.

Uses LevelDB for a simple key value pair database.

There are two node to choose from...

Use one node to either put (store) the msg.payload to the named database file, using msg.topic as the key, or to delete information select delete in the properties dialogue and again use msg.topic as the key..

Use the other node to get, or retrieve the data already saved in the database.

Again use msg.topic to hold the key for the database, and the result is returned in msg.payload. If nothing is found for the key then null is returned.