MongoDB: Using update method to add an new element of an array doesn't work

前端 未结 0 1480
耶瑟儿~
耶瑟儿~ 2020-12-01 09:10

I used mongodb\'s udpate method to change an array\'s element, I hoped to add a new element, but it changed the first one instead of adding an new one. However if I use upda

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