using mongoose.model.update in array.map method but not working?

后端 未结 0 1768
孤独总比滥情好
孤独总比滥情好 2021-01-27 19:25

I want update the value of a key in my database but it is not working. Kindly look into my code below.

if (req.body.Body != \'Hi\') {
    Chat.find({ isBot: true          


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