Fix documentation for command_with_opts functions and aggregate

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.9.0
    • Affects Version/s: None
    • Component/s: libmongoc
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              Jeremy Mikola
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: