dropDatabase should be harder

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      db.dropDatabase() is really dangerous
      it can be call on any database without any verification.
      it is based on the context of the selected database which can lead to mistakes.

      (example : use the command history to quickly)

      it should contain the name of the database to drop : db.dropDatabase("databaseToDrop") for example.

              Assignee:
              Unassigned
              Reporter:
              Julien Gaucher
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: