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

Flexible index-creation

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.8.0
    • Affects Version/s: None
    • Component/s: libmongoc
    • None

      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.

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

              Created:
              Updated:
              Resolved: