From 350e29c7e30f699cc9b7cfe5c4d4c5878436d40b Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Fri, 18 Apr 2014 23:14:32 +0000 Subject: [PATCH] Revise argument docs for MongoCollection update/remove methods git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333379 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongo/mongocollection/remove.xml | 5 +++-- reference/mongo/mongocollection/update.xml | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/reference/mongo/mongocollection/remove.xml b/reference/mongo/mongocollection/remove.xml index b025981db0..1b08eafea5 100644 --- a/reference/mongo/mongocollection/remove.xml +++ b/reference/mongo/mongocollection/remove.xml @@ -26,7 +26,7 @@ - Description of records to remove. + Query criteria for the documents to delete. @@ -45,7 +45,8 @@ "justOne" - Remove at most one record matching this criteria. + Specify &true; to limit deletion to just one document. If &false; or + omitted, all documents matching the criteria will be deleted. &mongo.writes.parameters.fsync; diff --git a/reference/mongo/mongocollection/update.xml b/reference/mongo/mongocollection/update.xml index edaedfeb27..18b8972352 100644 --- a/reference/mongo/mongocollection/update.xml +++ b/reference/mongo/mongocollection/update.xml @@ -27,7 +27,7 @@ - Description of the objects to update. + Query criteria for the documents to update. @@ -37,7 +37,9 @@ - The object with which to update the matching records. + The object used to update the matched documents. This may either contain + update operators (for modifying specific fields) or be a replacement + document.