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

mongoc_collection_create_index should return index document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: libmongoc
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: