Answers for "error while connecting mongodb MongoParseError: option usefindandmodify is not supported"

0

error while connecting mongodb MongoParseError: option usefindandmodify is not supported

await mongoose.connect(URL,{ 
    
        useNewUrlParser: true,
        useUnifiedTopology: true,
       // useFindAndModify: false    --->   no longer needed
    
    });
Posted by: Guest on February-01-2022

Code answers related to "error while connecting mongodb MongoParseError: option usefindandmodify is not supported"

Browse Popular Code Answers by Language