Cleanup
This commit is contained in:
6
node_modules/mongoose/README.md
generated
vendored
6
node_modules/mongoose/README.md
generated
vendored
@@ -3,7 +3,7 @@
|
||||
Mongoose is a [MongoDB](https://www.mongodb.org/) object modeling tool designed to work in an asynchronous environment. Mongoose supports both promises and callbacks.
|
||||
|
||||
[](http://slack.mongoosejs.io)
|
||||
[](https://travis-ci.org/Automattic/mongoose)
|
||||
[](https://github.com/Automattic/mongoose)
|
||||
[](http://badge.fury.io/js/mongoose)
|
||||
|
||||
[](https://www.npmjs.com/package/mongoose)
|
||||
@@ -72,7 +72,9 @@ Both `connect` and `createConnection` take a `mongodb://` URI, or the parameters
|
||||
```js
|
||||
await mongoose.connect('mongodb://localhost/my_database', {
|
||||
useNewUrlParser: true,
|
||||
useUnifiedTopology: true
|
||||
useUnifiedTopology: true,
|
||||
useFindAndModify: false,
|
||||
useCreateIndex: true
|
||||
});
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user