Updating a specific key/value inside of an array field with MongoDB

后端 未结 1 984
有刺的猬
有刺的猬 2021-02-12 21:53

As a preface, I\'ve been working with MongoDB for about a week now, so this may turn out to be a pretty simple answer.

I have data already stored in my collection, we wi

相关标签:
1条回答
  • 2021-02-12 22:49

    Maybe you can use the $ operator (positional-operator)?

    0 讨论(0)
提交回复
热议问题