A Node-RED node to read and write to a LevelDB database
A Node-RED node to read and write to a LevelDB database.
Run the following command in your Node-RED user directory - typically
npm install node-red-node-leveldb
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
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.
msg.topic to hold the key for the database, and the result is returned in
If nothing is found for the key then null is returned.