mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
update storage nodes info style
This commit is contained in:
@@ -5,7 +5,7 @@ A <a href="http://nodered.org" target="_new">Node-RED</a> node to read and write
|
||||
Install
|
||||
-------
|
||||
|
||||
Run the following command in the root directory of your Node-RED install
|
||||
Run the following command in your Node-RED user directory - typically `~/.node-red`
|
||||
|
||||
npm install node-red-node-leveldb
|
||||
|
||||
@@ -19,8 +19,10 @@ Uses <a href="https://code.google.com/p/leveldb/" target="_new"><i>LevelDB</i></
|
||||
|
||||
There are two node to choose from...
|
||||
|
||||
Use one node to either <b>put</b> (store) the <b>msg.payload</b> to the named database file, using <b>msg.topic</b> as the key, or to <b>delete</b> information select delete in the properties dialogue and again use <b>msg.topic</b> as the key.</b>.
|
||||
Use one node to either <b>put</b> (store) the `msg.payload` to the named database file, using `msg.topic`
|
||||
as the key, or to <b>delete</b> information select delete in the properties dialogue and again use `msg.topic` as the key.
|
||||
|
||||
Use the other node to <b>get</b>, or retrieve the data already saved in the database.
|
||||
|
||||
Again use <b>msg.topic</b> to hold the <i>key</i> for the database, and the result is returned in <b>msg.payload</b>. If nothing is found for the key then <i>null</i> is returned.
|
||||
Again use `msg.topic` to hold the <i>key</i> for the database, and the result is returned in `msg.payload`.
|
||||
If nothing is found for the key then <i>null</i> is returned.
|
||||
|
Reference in New Issue
Block a user