Run mongoose command without await

前端 未结 0 1061
青春惊慌失措
青春惊慌失措 2020-12-20 11:57

I\'m trying to run a mongoose command without using await. When I do that then it doesn\'t change the data...

MyModel.findOneAndUpdate({ someRef:         


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