Type alias HasManySetAssociationsMixin<T, TModelPrimaryKey>
Type declaration
-
- (newAssociations?: (T | TModelPrimaryKey)[], options?: HasManySetAssociationsMixinOptions<T>): Promise<void>
-
Parameters
-
Optional
newAssociations: (T | TModelPrimaryKey)[]
-
Returns Promise<void>
The setAssociations mixin applied to models with hasMany. An example of usage is as follows:
See
Model.hasMany