How can I update a single element of a nested array (found by its id) using Mongoose?

前端 未结 0 803
太阳男子
太阳男子 2021-01-21 08:11

I\'m trying to update the values of a single element(found by its id) of the data array in my MongoDB database. I\'m using Mongoose and this is my schema:

                


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