$sum string values with $cond in array Mongodb

后端 未结 0 404
暗喜
暗喜 2020-11-28 18:42

Hello i am trying to $sum some values that match the next condition.

My collection:

{
    _id: 1,
    items: [ 
    {
        name: \'item1\',
                 


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