* Initiate an Out of order batch write operation. All operations will be buffered into insert/update/remove commands executed out of order. * * @throws MongoNotConnectedError * @remarks * **NOTE:** MongoClient must be connected prior to calling this method due to a known limitation in th
(options?: BulkWriteOptions)
| 1186 | * However, `collection.bulkWrite()` provides an equivalent API that does not require prior connecting. |
| 1187 | */ |
| 1188 | initializeUnorderedBulkOp(options?: BulkWriteOptions): UnorderedBulkOperation { |
| 1189 | return new UnorderedBulkOperation(this as TODO_NODE_3286, resolveOptions(this, options)); |
| 1190 | } |
| 1191 | |
| 1192 | /** |
| 1193 | * Initiate an In order bulk write operation. Operations will be serially executed in the order they are added, creating a new operation for each switch in types. |