-
Type:
Bug
-
Resolution: Done
-
Priority:
Minor - P4
-
None
-
Affects Version/s: 3.2.7, 3.4.5
-
Component/s: Aggregation Framework
-
None
-
ALL
-
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
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'}
is reliable.
If it's the normal behavior, could we mention this in the docs?
Thanks in advance