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

Support strict checking of whether a collection exists upon attribute-style access

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.2.1
    • Component/s: None

      Accessing a collection as db.mycollection.find() can silently fail if there is a typo in the collection name, e.g. db.mycollections.find().

      Allow pymongo to be configured to raise an exception if the collection doesn't exist?

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            wodow Chris Wood
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: