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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.2.1
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Hackett
              Reporter:
              Chris Wood
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: