Answers for "node:2558) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated"

2

DeprecationWarning: current Server Discovery and Monitoring engine is deprecated,

mongoose.connect(uri, { useNewUrlParser: true,useUnifiedTopology:true });
mongoose.createConnection(uri, { useNewUrlParser: true });
Posted by: Guest on November-03-2020

Code answers related to "node:2558) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated"

Browse Popular Code Answers by Language