Make db.dropDatabase() shell helper take an argument

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Shell
    • Server Tooling & Methods
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Dropping a database is a big deal. The current shell command db.dropDatabase() defaults to the current selected database and drops the database without confirmation.

      I would suggest we add an argument to the command that explicitly names the database so that accidental drops don't occur because the wrong database was "used" in a previous command.

      The shell should also ask for confirmation before performing this action.

              Assignee:
              Backlog - Server Tooling and Methods (STM) (Inactive)
              Reporter:
              Joe Drumgoole (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              16 Start watching this issue

                Created:
                Updated:
                Resolved: