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

Add way to get the list of collections from database

    • Type: Icon: Improvement Improvement
    • Resolution: Incomplete
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.5.4
    • Component/s: Internal Code
    • Labels:
      None

      Currently you can get a specific collection, but not all of them:
      https://github.com/mongodb/mongo/blob/master/src/mongo/db/database.h#L143

      We can also replace all use of db->namespaceIndex().getNamespaces( collsToFill ) with this, where appropriate.

            Assignee:
            Unassigned Unassigned
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: