- Reference >
mongo
Shell Methods >- Bulk Operation Methods >
- Bulk.find.remove()
Bulk.find.remove()¶
On this page
Description¶
-
Bulk.find.
remove
()¶ New in version 2.6.
Adds a remove operation to a bulk operations list. Use the
Bulk.find()
method to specify the condition that determines which documents to remove. TheBulk.find.remove()
method removes all matching documents in the collection. To limit the remove to a single document, seeBulk.find.removeOne()
.