Which option should be used to update all the documents with the specified condition in the MongoDB query?

Posted by: Pdfprep Category: C100DBA Tags: , ,

Which option should be used to update all the documents with the specified condition in the MongoDB query?
A . specify {all: true} as the third parameter of update command
B . updateAII instead of update
C . specify {updateAII: true} as the third parameter of update command
D . specify {multi: true} as the third parameter of update command

Answer: D

Leave a Reply

Your email address will not be published.