When available, use listCollections command for Database.collection_names and Collection.options

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 2.8, 3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The listCollections command is new in MongoDB 2.7.5. Both Database.collection_names and Collection.options currently directly query the system.namespaces collection. This won't work in MongoDB 2.8 when alternative storage engines are in use.

              Assignee:
              Bernie Hackett
              Reporter:
              Barrie Segal (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: