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

Implement Database Enumeration spec

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: