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

Flexible index-creation

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.8.0
    • None
    • libmongoc
    • None

    Description

      mongoc_collection_create_index_with_opts takes a mongoc_index_opt_t parameter. This has the unfortunately consequence that it must be updated as the server changes adds or deprecates index options. It also makes it harder for wrapper drivers to do anything other than implement a similar API.

      We'd like a API to just provide a bson_t* for index options and pass it through to the server and make construction of a correct index options document a user responsibility.

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: