[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:
Related
related to SERVER-5811 Make a killCursors command Closed
is related to SERVER-12517 Add listIndexes command Closed
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 SERVER-2442.

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