- Reference >
mongosh
Methods >- Bulk Operation Methods >
- Bulk.find.removeOne()
Bulk.find.removeOne()¶
On this page
Tip
Starting in version 3.2, MongoDB also provides the
db.collection.bulkWrite()
method for performing bulk
write operations.
Description¶
-
Bulk.find.
removeOne
()¶ Starting in
mongosh
0.12.2,Bulk.find.removeOne()
is an alias forBulk.find.deleteOne()
.In new code, use
Bulk.find.deleteOne()
instead ofBulk.find.removeOne()
.