Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-766

Add mongo.getDBs()/getDBNames()

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.13.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Iteration Chicago
    • Needed
    • Hide

      The mongo.getDBNames() and mongo.getDBs() methods need to be documented. The former returns an array of all database names, the latter the result of the listDatabases command. They are present in the legacy shell as well, just undocumented.

      Show
      The mongo.getDBNames() and mongo.getDBs() methods need to be documented. The former returns an array of all database names, the latter the result of the listDatabases command. They are present in the legacy shell as well, just undocumented.

          Assignee:
          anna.henningsen@mongodb.com Anna Henningsen
          Reporter:
          anna.henningsen@mongodb.com Anna Henningsen
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

            Created:
            Updated:
            Resolved: