[SERVER-4898] Add a "getCollectionNames" command Created: 07/Feb/12 Updated: 08/Jan/15 Resolved: 08/Jan/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin, Storage |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Daniel Crosta | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Participants: | |||||||||||||
| Description |
|
Right now drivers have to scan system.namespaces with a heuristic (disinclude any namespaces containing a $ character), and modify the output to strip off the database name portion of the namespace. For drivers which don't have a helper, users may be intimidated by what is currently required to get the list of collections, or may feel that their implementation is shaky or not future-proof. Further, as far as I can tell it is not documented anywhere how to implement this correctly (short of reading the code for drivers which do implement such a helper). |
| Comments |
| Comment by J Rassi [ 08/Jan/15 ] |
|
Closing as dup of |