-
Type: Question
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: 3.0.11
-
Component/s: Aggregation Framework
-
None
In this step:
{ "$group": { "_id": {"tLc": "$indices", lc: "$lc", group: "$group"}, "f": {"$sum": 1} } },
the field "f" is output as a Double, but since it's summing an integer, wouldn't a Long be more appropriate. Is there any way to cast inside the AF?