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

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

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Shell
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: