I have a table ProdTable with following content:
ProdName PrdCategory PrdPrice
PrdB 34 8
PrdA 34 50
PrdC 134 49
PrdC 134 50
PrdD 34 8
I want to receive the output from MongoDB Collection (same content) ProdCategory min(PrdPrice) count 34 8 2 134 49 1
How will I write my db.ProdTable.Aggregate?