Skip to content

Commit

Permalink
docs(QuickStart): pass useNewUrlParser: true to client
Browse files Browse the repository at this point in the history
  • Loading branch information
nadim1992 authored and daprahamian committed Aug 13, 2019
1 parent 8d7fd47 commit 41e7c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/content/quick-start/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const url = 'mongodb://localhost:27017';

// Database Name
const dbName = 'myproject';
const client = new MongoClient(url);
const client = new MongoClient(url, {useNewUrlParser: true});

// Use connect method to connect to the server
client.connect(function(err) {
Expand Down

0 comments on commit 41e7c7e

Please sign in to comment.