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