Problem source:https://groups.google.com/forum/#!topic/mongodb-user/BpgEaRqrKsA
Below is a selection of Collection C1:
You need to group the collection by name. Each group contains the users field of the document corresponding to a same name and does not allow duplicate members. The expected result may like this:
esP...
2015-09-16 1200 0
0