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

XMLWordPrintableJSON

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

      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
              Reporter:
              J Rassi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: