i would only like to retrieve results whose count is greater than 1 with this request, how can i do that ?
db.collection.aggregate([{$group:{_id:"$id"},count:{$sum:1}}]);
Thx in advance
i would only like to retrieve results whose count is greater than 1 with this request, how can i do that ?
db.collection.aggregate([{$group:{_id:"$id"},count:{$sum:1}}]);
Thx in advance