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

Introduce generic mongoc_client_command_with_opts() function

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.9.0
    • Affects Version/s: None
    • Component/s: libmongoc
    • None

      As discussed with jesse, this would be implemented in the style of mongoc_client_read_write_command_with_opts() (and friends) but only support a server hint and collation options by default. There would be no logic for injecting client defaults for read and write concern, which would make this suitable for basic commands such as ping.

      It would also serve as the model for a generic command runner for driver sessions, since the APIs for mongoc_client_command() and mongoc_client_command_simple() should be retired.

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

              Created:
              Updated:
              Resolved: