Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
3.2.7, 3.4.5
-
None
-
ALL
-
Description
Hi,
Until now, I was doing aggregate and was implementing sort-of DISTINCT by using $group on several documents. It works fine until one of the document got rewritten with its field in a different order.
Consequence of it, with $foo as an object, you can't assume
$group: {'_id': '$foo'}
|
If it's the normal behavior, could we mention this in the docs?
Thanks in advance