Note
For details on a specific method, including syntax and examples, click on the link to the method's reference page.有关特定方法的详细信息,包括语法和示例,请单击该方法参考页面的链接。
Tip
MongoDB also provides the MongoDB还提供了Mongo.bulkWrite() method for performing bulk write operations.Mongo.bulkWrite()方法来执行批量写入操作。
db.collection.initializeOrderedBulkOp() | Bulk() operations builder for an ordered list of operations.Bulk()操作生成器。 |
db.collection.initializeUnorderedBulkOp() | Bulk() operations builder for an unordered list of operations.Bulk()操作生成器。 |
Mongo.bulkWrite() | |
Bulk() | |
Bulk.execute() | |
Bulk.find() | |
Bulk.find.arrayFilters() | update or updateOne operation.update或updateOne操作更新数组中哪些元素的筛选器。 |
Bulk.find.collation() | |
Bulk.find.delete() | |
Bulk.find.deleteOne() | |
Bulk.find.hint() | |
Bulk.find.remove() | Bulk.find.delete().Bulk.find.delete()的别名。 |
Bulk.find.removeOne() | Bulk.find.deleteOne().Bulk.find.deleteOne()的别名。 |
Bulk.find.replaceOne() | |
Bulk.find.updateOne() | |
Bulk.find.update() | multi update operation to a list of operations.multi更新操作添加到操作列表中。 |
Bulk.find.upsert() | upsert: true for an update operation.upsert: true。 |
Bulk.getOperations() | Bulk() operations object.Bulk()操作对象中执行的写入操作数组。 |
Bulk.insert() | |
Bulk.toJSON() | Bulk() operations object.Bulk()操作对象中的操作数和批处理数。 |
Bulk.toString() | Bulk.toJSON() results as a string.Bulk.toJSON()结果。 |