Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1359

Replace use of index options in API with BSON document

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.2.0-rc0
    • None
    • API
    • None

    Description

      Currently, we use mongocxx::options::index to pass options to our index-related API methods. This has the downside of requiring changes whenever the server begins supporting new options. To mitigate this, we should change the index-related API methods to take a BSON document rather than an options object. As part of the work, we should implement a cast operator to bsoncxx::document::value for mongocxx::options::index to enable existing code to continue working.

      Attachments

        Activity

          People

            patrick.freed@mongodb.com Patrick Freed
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: