findByIdAndUpdate do not update document

后端 未结 0 1380
谎友^
谎友^ 2021-01-12 23:21

I am trying to update a field to the document with findByIdAndUpdate. The field I am trying to update is defined in the Bar Model. And I can also assure that req.body.

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