How to update multiple array elements with different keys in mongoose

前端 未结 0 964
孤独总比滥情好
孤独总比滥情好 2020-12-16 06:12

I have document containing lists. For example, the users document looks like

[
{
_id: 1,
photos: [
    {_id: 1, url:\'https://example.com/1.jpg\', size: 100},         


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