Answers for "mongo server option deprecated"

4

DeprecationWarning: current Server Discovery and Monitoring engine is deprecated,

mongoose.connect("paste db link", {useUnifiedTopology: true, useNewUrlParser: true, useCreateIndex: true });
Posted by: Guest on May-21-2020
0

{ use UnifiedTopology: true }

mongoose.connect("mongodb://localhost:27017/NAME", { useUnifiedTopology: true, useNewUrlParser: true });
Posted by: Guest on July-08-2020

Code answers related to "mongo server option deprecated"

Browse Popular Code Answers by Language