Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

error while connecting mongodb MongoParseError: option usefindandmodify is not supported

await mongoose.connect(URL,{ 
    
        useNewUrlParser: true,
        useUnifiedTopology: true,
       // useFindAndModify: false    --->   no longer needed
    
    });
 
PREVIOUS NEXT
Tagged: #error #connecting #mongodb #option #usefindandmodify #supported
ADD COMMENT
Topic
Name
1+4 =