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

Implement BulkWriteResult class for CRUD spec

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.2.0
    • Affects Version/s: 0.2.0
    • Component/s: None
    • Labels:
      None

      Currently Collection::bulkWrite() returns a WriteResult instance from the driver. While this is similar to the BulkWriteResult API defined in the CRUD spec, WriteResult does not track inserted IDs. Create a new BulkWriteResult class that composes a WriteResult, similar to what is done for InsertOneResult and InsertManyResult.

            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: