Type alias HasManyRemoveAssociationMixin<T, TModelPrimaryKey>
Type declaration
-
- (oldAssociated?: T | TModelPrimaryKey, options?: HasManyRemoveAssociationMixinOptions<T>): Promise<void>
-
Parameters
-
Optional
oldAssociated: T | TModelPrimaryKey
-
Returns Promise<void>
The removeAssociation mixin applied to models with hasMany. An example of usage is as follows:
See
Model.hasMany