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

Add codec_options, read_preference, and write_concern params to Database.create_collection

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 3.0
    • None
    • None

    Description

      Database.create_collection creates a collection server side using the specified options (for example, options for capped collections or specific storage engines.) The method returns an instance of Collection so it should accept the same parameters as Database.get_collection.

      Attachments

        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: