[Solved] Mongodb aggregate query, or too complex?
[ad_1] Though it should have been made more clear in your question, your output sample from source suggests that you are looking for: Total count of messages per “uid” Distinct count of values in “to” Distinct count of values in “from” Summary of counts per “hour” for each “uid” This is all possible in a … Read more