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

Pass options as a BSON document to various functions

    • Type: Icon: Epic Epic
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: None
    • Component/s: libmongoc
    • None
    • Done
    • Flexible opts

      Add:

      • mongoc_collection_find_with_opts
      • mongoc_bulk_operation_update_with_opts and other bulk functions
      • mongoc_client_command_with_opts

      Rename "_with_write_concern" functions (introduced in CDRIVER-1322) to "_with_opts", accept a const bson_t opts instead a mongoc_write_concern_t:

      • mongoc_collection_create_index_with_opts
      • mongoc_collection_drop_index_with_opts
      • mongoc_collection_drop_with_opts
      • mongoc_collection_rename_with_opts
      • mongoc_database_create_collection_with_opts
      • mongoc_database_drop_with_opts

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

              Created:
              Updated:
              Resolved: