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

Introduce generic mongoc_client_command_with_opts() function

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.9.0
    • None
    • libmongoc
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: