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

Add DBClientWithCommands::ensureIndex() overload that takes an options object

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • legacy-0.0-26compat-2.6.0-rc0
    • API, Implementation

    Description

      DBClientWithCommands::ensureIndex() provides a fixed set of options that can be set on the index being created, and hasn't been updated with new index options (e.g. "'weights", "default_language" for text indexes). To future-proof the interface, the C++ driver should provide a new overload for this function that takes "const BSONObj& options" instead of the options currently provided.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: