Google News
logo
MongoDB - Quiz(MCQ)
Which of the following operations are atomic on document level?
A)
update
B)
remove
C)
findAndModify
D)
All of the above

Correct Answer :   All of the above


Explanation : In MongoDB, write operations, e.g. db.collection.update(), db.collection.findAndModify(), db.collection.remove(), are atomic on the level of a single document.

Advertisement