Which option should be used with findAndModify() command to return the modified document instead of the pre-modification document?
Correct Answer:
B.Set {new : true}
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Correct Answer:
B.Set {new : true}
need an explanation for this answer? contact us directly to get an explanation for this answer