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

WriteResult debug handler should return objects

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2.3
    • Affects Version/s: 1.1.4
    • Component/s: None
    • None

      Currently, WriteResult's debug handler flattens its internal objects (e.g. upserted IDs, write errors) to arrays. We should expose them as objects, which will allow us to re-use code from the getters and also make __debugInfo() more usable when we implement PHPC-470.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: