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

mongoc_collection_create_index should return index document

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: None
    • Component/s: libmongoc
    • Labels:

      The legacy driver would return the inserted index as a bson document. mongoc_collection_create_index should exhibit the same behavior.

      This will require an enhanced new function, mongoc_collection_create_index_2 or something, that returns additional info.

      History: we created mongoc_collection_create_index_2, renamed to mongoc_collection_create_index_with_write_concern, and now we're renaming it mongoc_collection_create_index_with_opts. All of this is for 1.5.0.

            Assignee:
            ian.boros@mongodb.com Ian Boros
            Reporter:
            msoutier Marius Soutier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: