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

Documentation examples should not use mongoc_collection_update

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.25.1
    • Affects Version/s: None
    • Component/s: Docs, libmongoc
    • None

      The following functions in test-mongoc-sample-commands.c still use mongoc_collection_update(), which has been superseded by newer CRUD methods:

      • test_example_52
      • test_example_53
      • test_example_54

      This code ends up in C driver examples published in the MongoDB manual, so it would be preferable to use the newer methods here.

            Assignee:
            adrian.dole@mongodb.com Adrian Dole
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: