提示
MongoDB 还提供了用于执行批量写入操作的 db.collection.bulkWrite() 方法。
说明
Bulk.find.removeOne()从
mongosh0.12.2 开始,Bulk.find.removeOne()是Bulk.find.deleteOne()的别名。
注意
使用 Bulk.find.deleteOne() 代替 Bulk.find.removeOne()。
MongoDB 还提供了用于执行批量写入操作的 db.collection.bulkWrite() 方法。
Bulk.find.removeOne()从 mongosh 0.12.2 开始,Bulk.find.removeOne() 是 Bulk.find.deleteOne() 的别名。
使用 Bulk.find.deleteOne() 代替 Bulk.find.removeOne()。