can't access a mongoose schema's method

前端 未结 0 1686
花落未央
花落未央 2021-01-30 12:15

I\'m trying to make a new method inside of my mongoose schema and use it in my API functions.
For some reason, I can\'t access the function, and it keeps to show me an e
相关标签:
回答
  • 消灭零回复
提交回复
热议问题