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

Fix documentation for command_with_opts functions and aggregate

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.9.0
    • Affects Version/s: None
    • Component/s: libmongoc
    • None

      mongoc_client_command_with_opts.rst is missing read prefs arg (before bson_t *opts). Additionally, the current explanation of how various opts are parsed is incorrect, as f2d3db3 from CDRIVER-2207 talks about inheriting read preference from opts and doesn't mention that read concern requires a server version. It also states that "The write concern is omitted for MongoDB before 3.2", but write concern is only supported for findAndModify on 3.2 and other commands require 3.4+ (see: Server Wire version and Feature List).

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: