Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-76

Create default iterator class(es) for QueryResult and CommandResult

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.1.0
    • Affects Version/s: None
    • Component/s: None
    • None

      Default implementation should handle conversion of BSON results into PHP values. Will likely convert BSON objects to associative arrays, as is done in the current driver.

      A second implementation can have lossless marshaling into BSON types, which would avoid issues where empty BSON objects and arrays are indistinguishable in PHP.

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: