Skip to content

Commit

Permalink
Merge pull request #9768 from Fernando-Lozano/patch-1
Browse files Browse the repository at this point in the history
Added recommended connection option.
  • Loading branch information
vkarpov15 authored Jan 5, 2021
2 parents 3add446 + 2ca7abd commit dec79db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ block content
```javascript
// getting-started.js
const mongoose = require('mongoose');
mongoose.connect('mongodb://localhost/test', {useNewUrlParser: true});
mongoose.connect('mongodb://localhost/test', {useNewUrlParser: true, useUnifiedTopology: true});
```

We have a pending connection to the test database running on localhost.
Expand Down

0 comments on commit dec79db

Please sign in to comment.