On this page本页内容
Tip
Starting in version 3.2, MongoDB also provides the db.collection.bulkWrite()
method for performing bulk write operations.
Bulk.find.
remove
()¶Adds a remove operation to a bulk operations list. Use the Bulk.find()
method to specify the condition that determines which documents to remove. The Bulk.find.remove()
method removes all matching documents in the collection. To limit the remove to a single document, see Bulk.find.removeOne()
.