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