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

The `ttl` keyword of create_index and ensure_index is massively confusing with the new TTL indexes.

    XMLWordPrintableJSON

Details

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

    Description

      I propose we rename and add a deprecation warning before 2.3 is released.

      See: http://api.mongodb.org/python/current/api/pymongo/collection.html#pymongo.collection.Collection.ensure_index

      Attachments

        Activity

          People

            ross@mongodb.com Ross Lawley
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: