Specifies the driver API for the new bulkWrite command. The API in the new specification was previously discussed and approved in WRITING-13533. I made a few changes to the syntax which are called out in inline comments.
I've added unified tests in the crud directory for bulk write options, errors, and results. There are also some prose tests for bulk write batching. This seemed preferable to trying to add functionality to the unified test runner to build very large documents based on hello response values.
Basic tests are also added for the following specs:
Transactions: executing a bulk write within a transaction
Summary
Specifies the driver API for the new
bulkWrite
command. The API in the new specification was previously discussed and approved in WRITING-13533. I made a few changes to the syntax which are called out in inline comments.An implementation in the Rust Driver of this spec is currently in review (https://github.com/mongodb/mongo-rust-driver/pull/1034). A C driver implementation is also in progress.
Test Plan
I've added unified tests in the
crud
directory for bulk write options, errors, and results. There are also some prose tests for bulk write batching. This seemed preferable to trying to add functionality to the unified test runner to build very large documents based onhello
response values.Basic tests are also added for the following specs:
Please complete the following before merging: