conditional addFields to embedded objects in MongoDb

前端 未结 0 1526
-上瘾入骨i
-上瘾入骨i 2020-12-02 11:06

I am trying to add in values to a list of embedded objects based on another value within the object. A sample document looks like:

{ 
    "array" :          


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