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