Home »
MCQs »
MEAN Stack MCQs
____ is used to update a single document in a collection
34. ____ is used to update a single document in a collection.
- Updates()
- Update_foremost()
- Update!
- UpdateOne()
Answer: D) UpdateOne()
Explanation:
UpdateOne() is used to update a single document in a collection.