Type alias BelongsToManySetAssociationsMixin<TModel, TModelPrimaryKey>
BelongsToManySetAssociationsMixin<TModel, TModelPrimaryKey>: ((newAssociations?,
options?) => Promise<void>)
Type Parameters
-
TModel extends Model
-
TModelPrimaryKey
Type declaration
-
- (newAssociations?, options?): Promise<void>
-
Parameters
-
Optional
newAssociations: Iterable<TModel | TModelPrimaryKey> | null
-
The setAssociations mixin applied to models with belongsToMany. An example of usage is as follows: