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