MongoDB get rows where max value grouped

前端 未结 0 902
南笙
南笙 2020-12-16 17:56

Have a collection (sells by branches) called "operations" with documents like:

{id: 1, branch: "a", amount: 5, type: "sell"}
{id         


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