Add way to get the list of collections from database

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Incomplete
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.5.4
    • Component/s: Internal Code
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: