Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

error while connecting mongodb MongoParseError: option usefindandmodify is not supported

await mongoose.connect(URL,{ 
    
        useNewUrlParser: true,
        useUnifiedTopology: true,
       // useFindAndModify: false    --->   no longer needed
    
    });
Comment

PREVIOUS NEXT
Code Example
Javascript :: redux template create react app 
Javascript :: usestate hook with prevstate 
Javascript :: javascript get first 3 characters of string 
Javascript :: check if is function javascript 
Javascript :: allow only numerics and few alphabets in input type js 
Javascript :: javascript date methods 
Javascript :: javascript date time 
Javascript :: jquery animation 
Javascript :: how to delete an object from array in reactjs 
Javascript :: button in vanilla js 
Javascript :: mongoose id from string 
Javascript :: js cut string after last char 
Javascript :: req body express 
Javascript :: reverse 179 in javascript 
Javascript :: how to change color of font in js 
Javascript :: Use History React Router v5 app 
Javascript :: placeholder js 
Javascript :: javascript class constructor 
Javascript :: Checking Empty JS Object 
Javascript :: js get object keys 
Javascript :: js json stringfy beutify 
Javascript :: discord delete messag 
Javascript :: mongodb aggregate skip results 
Javascript :: js random word generator 
Javascript :: javascript array delete by index 
Javascript :: copy to clipboard javascript dom 
Javascript :: alphabet as array javascript 
Javascript :: js populate an empty array of zeros 
Javascript :: enter only numbers in input field angular 
Javascript :: javascript update local storage array 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =