Answers for "use the new parser, pass option { usenewurlparser: true } to mongoclient.connect."

1

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

MongoClient.connect("mongodb://localhost:27017/YourDB", { useNewUrlParser: true })
Posted by: Guest on April-03-2020

Code answers related to "use the new parser, pass option { usenewurlparser: true } to mongoclient.connect."

Code answers related to "Javascript"

Browse Popular Code Answers by Language