InterviewSolution
Saved Bookmarks
| 1. |
How do you Delete a Document? |
|
Answer» The CRUD API in MONGODB provides deleteOne and deleteMany for this PURPOSE. Both of these methods TAKE a filter document as their first parameter. The filter specifies a set of criteria to match against in removing documents. |
|