create db.exists() and collections.exists()

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Shell
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Add a db.exists() and collections.exists() so that it is easy to check whether a database or a collection exists. This will help to reduce the propensity to inadvertently create new dbs and collections when running a script due to typos.

            Assignee:
            Massimiliano Marcon
            Reporter:
            Brennan Pang
            Votes:
            29 Vote for this issue
            Watchers:
            30 Start watching this issue

              Created:
              Updated: