[CDRIVER-2340] Refactor mongoc_write_command_t's options handling Created: 02/Nov/17  Updated: 07/Mar/23

Status: Backlog
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CDRIVER-2373 IDL for functions that take flexible ... Closed
Related
related to CDRIVER-2296 Option to pass bson_validate_flags_t ... Closed

 Description   

CDRIVER-2331 made a mess of our write command path, especially how it handles "opts". Some "opts" documents apply to individual operations within a write command, e.g. opts that contain "arrayFilters", other "opts" apply to the entire write command, e.g. opts that contain "writeConcern". Some options are contained in BSON documents, others are in the (unfortunately public and immutable) mongoc_bulk_write_flags_t struct.


Generated at Wed Feb 07 21:14:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.