Type alias HasManyAddAssociationMixin<T, TModelPrimaryKey>
Type declaration
-
- (newAssociation?: T | TModelPrimaryKey, options?: HasManyAddAssociationMixinOptions<T>): Promise<void>
-
Parameters
-
Optional
newAssociation: T | TModelPrimaryKey
-
Returns Promise<void>
The addAssociation mixin applied to models with hasMany. An example of usage is as follows:
See
Model.hasMany