We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
mongoosejs
Learn more about funding links in repositories.
Report abuse
1 parent a55fba7 commit 4023f12Copy full SHA for 4023f12
lib/index.js
@@ -199,7 +199,7 @@ Mongoose.prototype.createConnection = function(uri, options) {
199
* mongoose.connect('mongodb://user:pass@localhost:port/database');
200
*
201
* // replica sets
202
- * var uri = 'mongodb://user:pass@localhost:port/database,mongodb://anotherhost:port,mongodb://yetanother:port';
+ * var uri = 'mongodb://user:pass@localhost:port,anotherhost:port,yetanother:port/mydatabase';
203
* mongoose.connect(uri);
204
205
* // with options
0 commit comments