Mongo : Update a document if exists else insert a custom document

后端 未结 0 1681
误落风尘
误落风尘 2021-01-15 05:00

I have documents in a collection as follows :

groupId: \'1234\',
info: [
        {
            name: \'ABC\',
            count: 10
        },
        {
              


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