Type alias BelongsToManyHasAssociationsMixin<TModel, TModelPrimaryKey>
BelongsToManyHasAssociationsMixin<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 belongsToMany. An example of usage is as follows: