0

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

L.G
  • 1,458
  • 4
  • 14
  • 24

0 Answers0