Re: seems as wrong description on the page
| From: | Derick Rethans | Date: | Tue, 10 May 2016 18:11:23 +0000 |
| Subject: | Re: seems as wrong description on the page | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-24741@lists.php.net to get a copy of this message | ||
On Tue, 10 May 2016, Andre Kliem [phasenweise] wrote:
> Hello PhpNet,
>
> on this page the documentation seems (to me) to be wrong:
>
>
> http://php.net/manual/en/mongocollection.aggregate.php
>
> the description for:
>
> Example #2 MongoCollection::aggregate() example
>
> To return all states with a population greater than 10 million, use the
> following aggregation operation:
>
> is confusing me - because of:
> its exact same as
> Example #3 MongoCollection::aggregate() example
>
> but you list different resultsets
>
>
> My "english"-skills are as horrible as my programming skills but -
> is this wrong?
The first example (Example #2) is wrong. I'll fix the docs (although it
might take some time to progress to the web site).
cheers,
Derick