MongoDB sum values from the list of dictionaries

前端 未结 0 787
礼貌的吻别
礼貌的吻别 2020-11-27 04:52

In mongoDB consider to have a dictionary given by:

{\'_id\': 1,
 \'count\': 12,
 \'products\': [{\'number\': 3},
                {\'number\': 1},
                     


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