[SERVER-11819] Add way to get the list of collections from database Created: 21/Nov/13  Updated: 10/Dec/14  Resolved: 21/Nov/13

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: 2.5.4
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Scott Hernandez (Inactive) Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

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.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 21/Nov/13 ]

This should be done on demand when NamespaceDetails becomes totally private.

Generated at Thu Feb 08 03:26:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.