diff --git a/storage/mongodb/README.md b/storage/mongodb/README.md index 955f21e8..4565bc64 100644 --- a/storage/mongodb/README.md +++ b/storage/mongodb/README.md @@ -16,13 +16,23 @@ Install ------- Run the following command in your Node-RED user directory - typically `~/.node-red` - +``` npm install node-red-node-mongodb +``` +Note that this package requires a MongoDB client package at least version 3.6.1 - if you have an older (version 2) client, +you may need to remove that before installing this +``` + npm remove mongodb + npm install node-red-node-mongodb +``` Usage ----- -Nodes to save and retrieve data in a local MongoDB instance. +Nodes to save and retrieve data in a MongoDB instance - the database server can be local (mongodb//:localhost:27017), remote (mongodb://hostname.network:27017), +and sharded cluster (mongodb+srv://clustername.network). + +Reference [MongoDB docs](https://docs.mongodb.com/manual/reference/connection-string/) to see which connection method (host or clustered) to use for your MongoDB instance. ### Input