The polymorphic "hasMany" relation with target relation keys.
{ type: RelationType.HAS_MANY, model: 'model', polymorphic: true, foreignKey: 'referenceId', discriminator: 'referenceType',} Copy
{ type: RelationType.HAS_MANY, model: 'model', polymorphic: true, foreignKey: 'referenceId', discriminator: 'referenceType',}
Generated using TypeDoc
The polymorphic "hasMany" relation with target relation keys.