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

Add a "getCollectionNames" command

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Admin, Storage
    • None

      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).

            Assignee:
            Unassigned Unassigned
            Reporter:
            dcrosta Daniel Crosta
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: