Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
*Location*: https://docs.mongodb.org/manual/reference/operator/aggregation/max/
*User-Agent*: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
*Referrer*: https://docs.mongodb.org/manual/reference/operator/aggregation/last/
*Screen Resolution*: 1600 x 900
*repo*: docs
*source*: reference/operator/aggregation/max
*Location*: https://docs.mongodb.org/manual/reference/operator/aggregation/max/ *User-Agent*: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0 *Referrer*: https://docs.mongodb.org/manual/reference/operator/aggregation/last/ *Screen Resolution*: 1600 x 900 *repo*: docs *source*: reference/operator/aggregation/max
Description
The expressions showing the usage of the $max accumulator in the $project stage are wrong (they are presented using the $min accumulator).