mirror of
				https://github.com/node-red/node-red-nodes.git
				synced 2025-03-01 10:37:43 +00:00 
			
		
		
		
	add cluster info
This commit is contained in:
		| @@ -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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user