Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to use findoneandupdate

let doc = await Character.findOneAndUpdate(filter, update);
 
PREVIOUS NEXT
Tagged: #findoneandupdate
ADD COMMENT
Topic
Name
9+7 =