-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.1.2
-
Component/s: Aggregation Framework
-
Environment:Macbook Pro (early 2011) OSX 10.7.4
-
ALL
$avg assumes 0 for undefined $avg should behave like $push and $addToSet and return nothing for undefined