Collection access from database object undocumented

XMLWordPrintableJSON

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

      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 Hackett
              Reporter:
              Wikimedia/Ipatrol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: