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

Allow attribute syntax on SON objects in addition to dictionary-style access

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      It is allowed on Connection and DB objects, but not on SON objects. When I know what fields are in a collection using doc.field is easier than doc['field'].

      Attachments

        Activity

          People

            Unassigned Unassigned
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: