How to group fields of different levels to calculate average in MongoDB?

前端 未结 0 2017
你的背包
你的背包 2020-12-05 05:25

How can I calculate the average RATE per YEAR for each TYPE in MongoDB based on this data structure?

"SHOP": [
    {
        "_id": str,
          


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