Add support for dropIndexes with multiple given indexes instead of all of them

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Index Management
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      As a MongoDB user
      I want the ability for dropIndexes in the MongoDB Node.js driver to receive an array of indexes, like the underlying database command and mongosh can already accept.
      So that I can delete multiple indexes in bulk without calling dropIndex many times

      User Experience

      • Users will be able to drop multiple named indexes in one method call, instead of calling dropIndex many times.

      Dependencies

      • upstream and/or downstream requirements and timelines to bear in mind

      Risks/Unknowns

      • Backwards compatibility of the dropIndexes method, for a user that currently passes it an options object.

      Acceptance Criteria

      Implementation Requirements

      • functional reqs, potential snafus to avoid, performance targets, etc

      Testing Requirements

      • unit test, spec test sync, etc

      Documentation Requirements

      • DOCSP ticket, API docs, etc

      Follow Up Requirements

      • additional tickets to file, required releases, etc
      • if node behavior differs/will differ from other drivers, confirm with dbx devs what standard to aim for and what plan, if any, exists to reconcile the diverging behavior moving forward

            Assignee:
            Unassigned
            Reporter:
            Segev Finer
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: