NestJS/Mongoose - query inside hooks

后端 未结 0 1466
花落未央
花落未央 2021-01-30 05:26

I want to create slug from a title and execute a query to check if the slug exists. I tried to do it in a pre hook of save function, but I can\'t seem to find a way to execute a

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