> My collections which have key is a array object.
You could use the Aggregation Framework in MongoDB 2.2 to sum the data by
There are a few limitations to be aware of, in particular that the output
You may also want to start your aggregation with an indexed $match to limit
> Have Mongodb support sum/avg key in array of Object by use AggregationGroup/Map Reduce yet?
The new aggregation framework includes a number of mathematical functions
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.