Unverified Commit 9f31222f authored by Kevin Albertson's avatar Kevin Albertson Committed by GitHub
Browse files

CDRIVER-4363 Support multiple OP_MSG doc sequences (#1578)



Support sending an OP_MSG with two document sequences (OP_MSG Section with payloadType=1). Intended for upcoming support of the `bulkWrite` command. Drivers are expected to send document sequences for both `nsInfo` and `ops` fields.

* remove unnecessary `_mongoc_get_documents_field_name`

The payloadType=1 identifier is already available in `mongoc_cmd_t::payload_identifier`

* define a `mongoc_cmd_payload_t` struct

* define `MONGOC_CMD_PAYLOADS_COUNT_MAX`

---------

Co-authored-by: default avatarEzra Chung <88335979+eramongodb@users.noreply.github.com>
parent 460de491
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment