Will this work?db.hasOne(model, options:{foreignKey: 'fk', where:{ model.someKey=someValue}}Because I basically have a table with a composite PK, so these fields are "table_name" and "table_id"
The table_name references diff tables, so the table_id can have overlap, and when I try to use it correctly
I don't know which table to target...if sequelize offers some sort of composite foreign key it wouldhelp me a lot for now I want something more like above to set up my association :db.hasOne(model, options:{foreignKey: 'table_id', where:{ model.table_name=someTableName}}