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
70fc9535
Commit
70fc9535
authored
Aug 27, 2015
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refer to findAndModify docs in related Collection methods
parent
81477df2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
Collection.php
src/Collection.php
+3
-0
No files found.
src/Collection.php
View file @
70fc9535
...
@@ -422,6 +422,7 @@ class Collection
...
@@ -422,6 +422,7 @@ class Collection
* The document to return may be null.
* The document to return may be null.
*
*
* @see FindOneAndDelete::__construct() for supported options
* @see FindOneAndDelete::__construct() for supported options
* @see http://docs.mongodb.org/manual/reference/command/findAndModify/
* @param array|object $filter Query by which to filter documents
* @param array|object $filter Query by which to filter documents
* @param array $options Command options
* @param array $options Command options
* @return object|null
* @return object|null
...
@@ -443,6 +444,7 @@ class Collection
...
@@ -443,6 +444,7 @@ class Collection
* "returnDocument" option to return the updated document.
* "returnDocument" option to return the updated document.
*
*
* @see FindOneAndReplace::__construct() for supported options
* @see FindOneAndReplace::__construct() for supported options
* @see http://docs.mongodb.org/manual/reference/command/findAndModify/
* @param array|object $filter Query by which to filter documents
* @param array|object $filter Query by which to filter documents
* @param array|object $replacement Replacement document
* @param array|object $replacement Replacement document
* @param array $options Command options
* @param array $options Command options
...
@@ -465,6 +467,7 @@ class Collection
...
@@ -465,6 +467,7 @@ class Collection
* "returnDocument" option to return the updated document.
* "returnDocument" option to return the updated document.
*
*
* @see FindOneAndReplace::__construct() for supported options
* @see FindOneAndReplace::__construct() for supported options
* @see http://docs.mongodb.org/manual/reference/command/findAndModify/
* @param array|object $filter Query by which to filter documents
* @param array|object $filter Query by which to filter documents
* @param array|object $update Update to apply to the matched document
* @param array|object $update Update to apply to the matched document
* @param array $options Command options
* @param array $options Command 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