Tip
MongoDB also provides the Mongo.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()
.
Note
Use Bulk.find.deleteOne()
instead of Bulk.find.removeOne()
.