Answers for "(node:7464) DeprecationWarning: Mongoose: mpromise (mongoose's default promise library) is deprecated, plug in your own promise library inste ad: http://mongoosejs.com/docs/promises.html"

0

deprecationwarning: mongoose

mongoose.connect("mongodb://localhost/test1", { useNewUrlParser: true, useUnifiedTopology: true });
//test1 is databse name
Posted by: Guest on June-20-2020

Code answers related to "(node:7464) DeprecationWarning: Mongoose: mpromise (mongoose's default promise library) is deprecated, plug in your own promise library inste ad: http://mongoosejs.com/docs/promises.html"

Browse Popular Code Answers by Language