Documentation examples should not use mongoc_collection_update

XMLWordPrintableJSON

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

              Created:
              Updated:
              Resolved: