postgrelize / BelongsToManySetAssociationsMixin
Type Alias: BelongsToManySetAssociationsMixin<TModel, TModelPrimaryKey> ​
BelongsToManySetAssociationsMixin<
TModel,TModelPrimaryKey> = (newAssociations?,options?) =>Promise<void>
Defined in: src/associations/mixin-types.ts:450
Type of the setXs accessor of a belongsToMany association (Sequelize v6).
Type Parameters ​
TModel ​
TModel
TModelPrimaryKey ​
TModelPrimaryKey
Parameters ​
newAssociations? ​
(TModel | TModelPrimaryKey)[]
options? ​
BelongsToManySetAssociationsMixinOptions
Returns ​
Promise<void>