-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.1.4
-
Component/s: None
-
None
phongo_execute_write() currently relies on mongoc_bulk_operation_execute() to check for an empty BulkWrite object, which means we throw a BulkWriteException (with an empty WriteResult). Since this is just argument validation (it happens before any network IO), we should throw an InvalidArgumentException.
- depends on
-
PHPC-564 WriteResult should encapsulate BSON instead of mongoc_write_result_t
- Closed