Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect

MongoClient.connect("mongodb://localhost:27017/YourDB", { useNewUrlParser: true })
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #To #pass #option #true
ADD COMMENT
Topic
Name
6+5 =