1.

_____can modify specific fields of an existing document or documents or replace an existing document entirely, depending on the update parameter.(a) modify()(b) update()(c) find()(d) none of the mentionedI had been asked this question in an online quiz.I'm obligated to ask this question of Analyze Query Performance in division MongoDB CRUD Concepts and Operation of MongoDB

Answer»

The correct CHOICE is (b) update()

Explanation: By DEFAULT, the update() method UPDATES a single document.



Discussion

No Comment Found

Related InterviewSolutions