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

Document that mongoc_find_and_modify_opts_append() and mongoc_find_and_modify_opts_set_*() copy their inputs

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.5.0
    • None
    • docs, libmongoc
    • None

    Description

      mongoc_find_and_modify_opts_append() and mongoc_find_and_modify_opts_set_*() take BSON pointers as parameters and copy them. Document that these parameters need not outlive the function call.

      Attachments

        Activity

          People

            bjori Hannes Magnusson
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: