-
Type: New Feature
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: libmongoc
-
None
Define an IDL that describes the set of options accepted by mongoc_collection_insert_one and the other CDRIVER-2331 functions, by mongoc_collection_aggregate, mongoc_collection_find_and_modify_with_opts, and mongoc_collection_find_with_opts, by the bulk operations in CDRIVER-1525, by the other flexible functions in CDRIVER-1524, by the read/write command with opts functions in CDRIVER-1527, and any other functions I omitted that take "opts".
Process the IDL definition for each "opts" function and produce:
- a strongly-typed struct with a field for each possible option
- code that parses the bson_t opts once, validates each input field, and populates the struct
- Sphinx markup that is automatically included in the appropriate place in the function's .rst documentation file
- causes
-
CDRIVER-2840 Delete Many and Update Many fail with retryWrites enabled
- Closed
-
CDRIVER-2647 Factor _mongoc_write_command_execute with IDL version
- Closed
- is depended on by
-
CDRIVER-2340 Refactor mongoc_write_command_t's options handling
- Closed
-
CDRIVER-2355 Refactor mongoc_cmd_parts_assemble
- Closed
- related to
-
CDRIVER-2959 "validate" option is passed in command
- Closed
-
CDRIVER-2661 mongoc_bulk_update functions reject arrayFilters option
- Closed
-
CDRIVER-2738 Bulk functions for insert, update, and replace should not support bypassDocumentValidation option
- Closed
-
CDRIVER-2660 Fix libmongoc project path in generate-opts.py
- Closed
-
CDRIVER-2665 Consider allow_extra=True for bulk option structs
- Closed
-
CDRIVER-2812 Parse gridfs options with IDL
- Closed
-
CDRIVER-2882 Parse change stream options with IDL
- Closed