how can I soft delete associate child rows when deleting the parent using sequelize

后端 未结 0 1104
栀梦
栀梦 2021-01-15 04:06

this is my loan model removed some properties to shorten it.

module.exports = (sequelize, type) => {
  return sequelize.define(
    "loan",
    {         


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