Skip to content

postgrelize / BelongsToManyAddAssociationMixin

Type Alias: BelongsToManyAddAssociationMixin<TModel, TModelPrimaryKey> ​

BelongsToManyAddAssociationMixin<TModel, TModelPrimaryKey> = (newAssociation?, options?) => Promise<void>

Defined in: src/associations/mixin-types.ts:462

Type of the addX accessor of a belongsToMany association (Sequelize v6).

Type Parameters ​

TModel ​

TModel

TModelPrimaryKey ​

TModelPrimaryKey

Parameters ​

newAssociation? ​

TModel | TModelPrimaryKey

options? ​

BelongsToManyAddAssociationMixinOptions

Returns ​

Promise<void>

Released under the MIT License.