Skip to content

Commit 5518dc9

Browse files
committed
PHPLIB-112: Support typeMap option for non-cursor aggregate operations
1 parent 3b9c272 commit 5518dc9

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

source/includes/apiargs-MongoDBCollection-method-aggregate-option.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,6 @@ source:
4949
source:
5050
file: apiargs-MongoDBCollection-common-option.yaml
5151
ref: typeMap
52-
post: |
53-
.. note::
54-
55-
This is not supported for inline aggregation results (i.e. ``useCursor``
56-
option is ``false`` or the server version is < 2.6).
5752
---
5853
arg_name: option
5954
name: useCursor

source/reference/method/MongoDBCollection-aggregate.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,6 @@ MongoDB server version and whether the ``useCursor`` option is specified. If
5858
``result`` array from the command response document. In both cases, the return
5959
value will be :php:`Traversable <traversable>`.
6060

61-
.. note::
62-
63-
BSON deserialization of inline aggregation results (i.e. not using a command
64-
cursor) does not yet support a ``typeMap`` option. Classes implementing
65-
:php:`MongoDB\\BSON\\Persistable <mongodb-bson-persistable>` will still be
66-
deserialized according to the
67-
:php:`Persistence <mongodb.persistence.deserialization>` specification.
68-
6961
.. todo: add examples
7062

7163
See Also

0 commit comments

Comments
 (0)