@@ -75,8 +75,12 @@ returned; otherwise, an ArrayIterator is returned, which wraps the "result"
75
75
array from the command response document.
76
76
77
77
** Note:** BSON deserialization of inline aggregation results (i.e. not using a
78
- command cursor) does not yet support a custom type map. Support is pending new
79
- functionality in the driver.
78
+ command cursor) does not yet support a "typeMap" options; however, classes
79
+ implementing [ MongoDB\BSON\Persistable] [ persistable ] will still be deserialized
80
+ according to the [ Persistence] [ persistence ] specification.
81
+
82
+ [ persistable ] : http://php.net/mongodb-bson-persistable
83
+ [ persistence ] : http://php.net/manual/en/mongodb.persistence.deserialization.php
80
84
81
85
### Supported Options
82
86
@@ -595,7 +599,9 @@ Finds a single document and deletes it, returning the original. The document to
595
599
return may be null if no document matched the filter.
596
600
597
601
** Note:** BSON deserialization of the returned document does not yet support a
598
- custom type map. Support is pending new functionality in the driver.
602
+ "typeMap" option; however, classes implementing
603
+ [ MongoDB\BSON\Persistable] [ persistable ] will still be deserialized according to
604
+ the [ Persistence] [ persistence ] specification.
599
605
600
606
### Supported Options
601
607
@@ -635,7 +641,9 @@ default, the original document is returned. Specify
635
641
"returnDocument" option to return the updated document.
636
642
637
643
** Note:** BSON deserialization of the returned document does not yet support a
638
- custom type map. Support is pending new functionality in the driver.
644
+ "typeMap" option; however, classes implementing
645
+ [ MongoDB\BSON\Persistable] [ persistable ] will still be deserialized according to
646
+ the [ Persistence] [ persistence ] specification.
639
647
640
648
### Supported Options
641
649
@@ -688,7 +696,9 @@ default, the original document is returned. Specify
688
696
"returnDocument" option to return the updated document.
689
697
690
698
** Note:** BSON deserialization of the returned document does not yet support a
691
- custom type map. Support is pending new functionality in the driver.
699
+ "typeMap" option; however, classes implementing
700
+ [ MongoDB\BSON\Persistable] [ persistable ] will still be deserialized according to
701
+ the [ Persistence] [ persistence ] specification.
692
702
693
703
### Supported Options
694
704
0 commit comments