Skip to content

postgrelize / BelongsToManyCreateAssociationMixin

Type Alias: BelongsToManyCreateAssociationMixin<TModel> ​

BelongsToManyCreateAssociationMixin<TModel> = (values?, options?) => Promise<TModel>

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

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

Type Parameters ​

TModel ​

TModel extends AnyModel

Parameters ​

values? ​

CreationAttributes<TModel>

options? ​

BelongsToManyCreateAssociationMixinOptions

Returns ​

Promise<TModel>

Released under the MIT License.