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