Type alias HasManyHasAssociationsMixin<TModel, TModelPrimaryKey>
Has
Many
Has
Associations
Mixin
<TModel, TModelPrimaryKey>: ((targets
: (TModel | TModelPrimaryKey)[], options
?: HasManyHasAssociationsMixinOptions<TModel>) => Promise<boolean>)
Type Parameters
-
TModel extends Model
-
TModelPrimaryKey
Type declaration
-
- (targets: (TModel | TModelPrimaryKey)[], options?: HasManyHasAssociationsMixinOptions<TModel>): Promise<boolean>
-
Parameters
-
targets: (TModel | TModelPrimaryKey)[]
-
Returns Promise<boolean>
The removeAssociations mixin applied to models with hasMany. An example of usage is as follows:
See
Model.hasMany