Which option should be used with findAndModify() command to return the modified document instead of the pre-modification document?
belongs to collection: MongoDB MCQ Quiz (Multiple Choice Questions And Answers)
All Answers
total answers (1)
belongs to collection: MongoDB MCQ Quiz (Multiple Choice Questions And Answers)
total answers (1)
Correct Answer:
B.Set {new : true}
need an explanation for this answer? contact us directly to get an explanation for this answer