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

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

    XMLWordPrintable

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • # Replies:
      3
    • Last comment by Customer:
      true

      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

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                9 years, 24 weeks, 6 days ago
                Date of 1st Reply: