The createAssociation mixin applied to models with hasOne. An example of usage is as follows:
class User extends Model<InferAttributes<User>, InferCreationAttributes<User>> { declare createRole: HasOneCreateAssociationMixin<Role>;}User.hasOne(Role);
Model.hasOne
Optional
Generated using TypeDoc
The createAssociation mixin applied to models with hasOne. An example of usage is as follows:
See
Model.hasOne