Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2373

IDL for functions that take flexible options

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0
    • Component/s: libmongoc
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jesse A. Jesse Jiryu Davis
              Reporter:
              jesse A. Jesse Jiryu Davis
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: