mongoose statics method error: not a function

前端 未结 0 809
情书的邮戳
情书的邮戳 2021-01-01 18:40

I am trying to create a Mongoose statics function for my model. But when I try to use the function it throws an error: User.findbByCredintials is not a function Here is user

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