Commit 70fc9535 authored by Jeremy Mikola's avatar Jeremy Mikola

Refer to findAndModify docs in related Collection methods

parent 81477df2
......@@ -422,6 +422,7 @@ class Collection
* The document to return may be null.
*
* @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 $options Command options
* @return object|null
......@@ -443,6 +444,7 @@ class Collection
* "returnDocument" option to return the updated document.
*
* @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 $replacement Replacement document
* @param array $options Command options
......@@ -465,6 +467,7 @@ class Collection
* "returnDocument" option to return the updated document.
*
* @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 $update Update to apply to the matched document
* @param array $options Command options
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment