Implement ArrayAccess for CollectionInfo and DatabaseInfo

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Minor - P4
    • 1.4.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Newer server versions may have "info" and "idIndex" fields, as mentioned in SERVER-26513. Note that the full collection data is available via the __debugInfo() method, but implementing ArrayAccess would make it easier to access such fields. We can also have DatabaseInfo implement ArrayAccess for consistency.

            Assignee:
            Katherine Walker (Inactive)
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: