Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-226

Implement ArrayAccess for CollectionInfo and DatabaseInfo

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: