sequelize association scope using column value

后端 未结 0 1241
生来不讨喜
生来不讨喜 2021-02-07 07:05

I\'ve read sequelize doc about Association Scopes. The example there is:

  const Bar = sequelize.define(\'bar\', { status: DataTypes.STRING });
  Foo.hasMany(Bar,         


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