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

Collection access from database object undocumented

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.10
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible

      I was reading the docs for collections and I noticed this:

      drop_collection
      db.foo.drop()
      db.drop_collection("foo")
      

      BUT nowhere is collection access by attribute even mentioned. Is this a gap in documentation, or a mistake in this example?

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            ipatrol Wikimedia/Ipatrol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: