Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1379

Implement Database Enumeration spec

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6
    • Affects Version/s: None
    • Component/s: API
    • 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@mongodb.com Bernie Hackett
            Reporter:
            rathi.gnanasekaran Rathi Gnanasekaran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: