Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-php-library
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sinan
mongo-php-library
Commits
48e60f4b
Commit
48e60f4b
authored
Mar 28, 2016
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify that Persistable is supported in methods without "typeMap" option
parent
ba1c74f9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
collection.md
docs/classes/collection.md
+15
-5
No files found.
docs/classes/collection.md
View file @
48e60f4b
...
@@ -75,8 +75,12 @@ returned; otherwise, an ArrayIterator is returned, which wraps the "result"
...
@@ -75,8 +75,12 @@ returned; otherwise, an ArrayIterator is returned, which wraps the "result"
array from the command response document.
array from the command response document.
**Note:**
BSON deserialization of inline aggregation results (i.e. not using a
**Note:**
BSON deserialization of inline aggregation results (i.e. not using a
command cursor) does not yet support a custom type map. Support is pending new
command cursor) does not yet support a "typeMap" options; however, classes
functionality in the driver.
implementing
[
MongoDB\BSON\Persistable
][
persistable
]
will still be deserialized
according to the
[
Persistence
][
persistence
]
specification.
[
persistable
]:
http://php.net/mongodb-bson-persistable
[
persistence
]:
http://php.net/manual/en/mongodb.persistence.deserialization.php
### Supported Options
### Supported Options
...
@@ -595,7 +599,9 @@ Finds a single document and deletes it, returning the original. The document to
...
@@ -595,7 +599,9 @@ Finds a single document and deletes it, returning the original. The document to
return may be null if no document matched the filter.
return may be null if no document matched the filter.
**Note:**
BSON deserialization of the returned document does not yet support a
**Note:**
BSON deserialization of the returned document does not yet support a
custom type map. Support is pending new functionality in the driver.
"typeMap" option; however, classes implementing
[
MongoDB\BSON\Persistable
][
persistable
]
will still be deserialized according to
the
[
Persistence
][
persistence
]
specification.
### Supported Options
### Supported Options
...
@@ -635,7 +641,9 @@ default, the original document is returned. Specify
...
@@ -635,7 +641,9 @@ default, the original document is returned. Specify
"returnDocument" option to return the updated document.
"returnDocument" option to return the updated document.
**Note:**
BSON deserialization of the returned document does not yet support a
**Note:**
BSON deserialization of the returned document does not yet support a
custom type map. Support is pending new functionality in the driver.
"typeMap" option; however, classes implementing
[
MongoDB\BSON\Persistable
][
persistable
]
will still be deserialized according to
the
[
Persistence
][
persistence
]
specification.
### Supported Options
### Supported Options
...
@@ -688,7 +696,9 @@ default, the original document is returned. Specify
...
@@ -688,7 +696,9 @@ default, the original document is returned. Specify
"returnDocument" option to return the updated document.
"returnDocument" option to return the updated document.
**Note:**
BSON deserialization of the returned document does not yet support a
**Note:**
BSON deserialization of the returned document does not yet support a
custom type map. Support is pending new functionality in the driver.
"typeMap" option; however, classes implementing
[
MongoDB\BSON\Persistable
][
persistable
]
will still be deserialized according to
the
[
Persistence
][
persistence
]
specification.
### Supported Options
### Supported Options
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment