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

Fix documentation for command_with_opts functions and aggregate

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 1.9.0
    • None
    • libmongoc
    • None

    Description

      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).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: