Mongodb group by specific field in the collection and also return the count for each

后端 未结 0 1727
日久生厌
日久生厌 2021-01-12 03:23

I have collection in mongodb which stores document like the following

ORDERS collection

_id:ObjectId(5f87b9f8f1bfc578dc3d8c9a)
user_id:"5f8465a777         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题