Use async await function with mongoose query in nodejs

前端 未结 0 1512
一整个雨季
一整个雨季 2020-12-16 20:07

I tried to make async and await function in mongoose. but in one case it simply didn\'t work while in another case it shows syntax error.

here is my code



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