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

Add get_database and get_collection methods.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.0
    • None
    • None

    Description

      PyMongo 3.0 will make MongoClient, Database, and Collection immutable. New methods will be added to create Database and Collection instances with specific BSON codec options, read preference, and write concern:

      pymongo.mongo_client.MongoClient.get_database
      pymongo.database.Database.get_collection
      pymongo.collection.Collection.with_options

      Attachments

        Issue Links

          Activity

            People

              bernie@mongodb.com Bernie Hackett
              bernie@mongodb.com Bernie Hackett
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: