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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: legacy-0.0-26compat-2.6.0-rc0
    • Component/s: API, Implementation

      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.

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

              Created:
              Updated:
              Resolved: