Google News
logo
MongoDB - Quiz(MCQ)
____ can modify specific fields of an existing document or documents or replace an existing document entirely, depending on the update parameter.
A)
find()
B)
modify()
C)
update()
D)
None of the above

Correct Answer :   update()


Explanation : By default, the update() method updates a single document.

Advertisement