Run sequelize hooks on a specific column

后端 未结 0 687
北海茫月
北海茫月 2021-01-01 13:23

There\'s a hook function I have on my User model that generates an API key with the crypto module and hashes it, it\'s attached to the beforeCreate

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