Answers for "(node:94444) DeprecationWarning: current Server Discovery and Monitoring engine is 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

DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor

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

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

Browse Popular Code Answers by Language