Make dropIndexes() argument optional

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 0.10.0
    • Affects Version/s: None
    • Component/s: Shell API
    • None
    • 3
    • Iteration Yucca
    • Not Needed

      The old shell required no argument and would drop all indexes, mongosh currently does require an explicit argument.

      We either make the argument optional, to align with the old shell, or we document the current situation. The no-argument version is used in University courses, but makes it easier to accidentally drop all indexes without intending to.

            Assignee:
            Anna Henningsen
            Reporter:
            Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: