Implement Database Enumeration spec

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6
    • Affects Version/s: None
    • Component/s: API
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      According to the spec we should add a MongoClient.list_databases method which returns an iterable over the "databases" array from listDatabases. We should return a CommandCursor in case the server starts returning a cursor.

      We can optionally add a MongoClient.list_mongo_databases method to iterate over pymongo.Database instances.

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

              Created:
              Updated:
              Resolved: