Home »
MCQs »
MEAN Stack MCQs
Which of the following is used to delete a single document from a collection?
26. Which of the following is used to delete a single document from a collection?
- removeOne()
- DelOne()
- DeleteOne()
Answer: C) DeleteOne()
Explanation:
DeleteOne() is used to delete a single document from a collection.