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

mongoc_collection_create_index should return index document

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.5.0
    • None
    • libmongoc

    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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: