From 0da49ccb6d978bb41d44f6f99c8a8574d3bc2ee6 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Mon, 10 Sep 2012 22:05:37 +0000 Subject: [PATCH] Revise arg names in MongoCollection::aggregate() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327601 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongo/mongocollection/aggregate.xml | 42 ++++++++++--------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/reference/mongo/mongocollection/aggregate.xml b/reference/mongo/mongocollection/aggregate.xml index 9919e52134..6984dbcdfb 100644 --- a/reference/mongo/mongocollection/aggregate.xml +++ b/reference/mongo/mongocollection/aggregate.xml @@ -11,46 +11,48 @@ &reftitle.description; public arrayMongoCollection::aggregate - arraypipelines - arraypipeline - array.. + arraypipeline + arrayop + array... - The MongoDB aggregation framework provides a means to calculate aggregated - values without having to use map-reduce. While map-reduce is powerful, it is - often more difficult than necessary for many simple aggregation tasks, such - as totaling or averaging field values. + The MongoDB + aggregation framework + provides a means to calculate aggregated values without having to use + MapReduce. While MapReduce is powerful, it is often more difficult than + necessary for many simple aggregation tasks, such as totaling or averaging + field values. - This method accepts both variable amount of - pipelines, or an array of pipelines. + This method accepts either a variable amount of pipeline operators, or a + single array of operators constituting the pipeline. &reftitle.parameters; - - pipelines - - - An array of pipelines, or just the first part. - - - pipeline - Second array of pipes. + An array of pipeline operators, or just the first operator. - .. + op - More pipes... + The second pipeline operator. + + + + + ... + + + Additional pipeline operators.