-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.1.2
-
Component/s: None
-
None
mongoc_write_result_t: PHPC's WriteResult class composes a mongoc_write_result_t struct. The bulk write functions in libmongoc always convert this to a bson_t before returning it to the user. Currently, PHPC passes a NULL to * mongoc_bulk_operation_execute() to bypass creation of the result bson_t and instead accesses the mongoc_bulk_operation_t's result field directly. We should be able to use the bson_t and avoid relying on this private structure.
- is depended on by
-
PHPC-624 WriteResult::getUpsertedIds() only supports ObjectIDs and integers
- Closed
-
PHPC-626 Use bson_error_t message for BulkWriteException message
- Closed
-
PHPC-628 executeBulkWrite() should throw InvalidArgumentException for empty BulkWrite
- Closed
-
PHPC-635 WriteResult debug handler should return objects
- Closed