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