Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-1938

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

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Shell
    • Labels:
      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.

            Votes:
            29 Vote for this issue
            Watchers:
            29 Start watching this issue

              Created:
              Updated: