-
Type: New Feature
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.0.0-beta2
-
Component/s: None
-
None
PHPLIB currently has workarounds for extracting the _id from a document if it was not generated by the driver; however, this doesn't work if the _id was returning from a Serializable object, as it may not be an accessible property in the original insert() argument, nor is it currently returned by insert().
- depends on
-
PHPC-382 Allow zval_to_bson() to return the ID irrespective of ID generation
- Closed
- is depended on by
-
PHPLIB-136 Refactor $insertedIds collection for insert operations
- Closed
-
PHPLIB-275 Rely on BulkWrite::insert() to always return the document's ID
- Closed
- related to
-
PHPC-2079 Consolidate _id extraction in BulkWrite::insert()
- Backlog
-
PHPLIB-157 Improve _id extraction for Serializable objects
- Closed