On this page本页内容
Tip
Starting in version 3.2, MongoDB also provides the db.collection.bulkWrite() method for performing bulk write operations.
Bulk.insert(<document>)¶Adds an insert operation to a bulk operations list.
Bulk.insert() accepts the following parameter:
doc |
document | Document to insert. The size of the document must be less than or equal to the maximum BSON document size. |