Skip to content

postgrelize / HasManyAddAssociationMixin

Type Alias: HasManyAddAssociationMixin<TModel, TModelPrimaryKey> ​

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

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

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

Type Parameters ​

TModel ​

TModel

TModelPrimaryKey ​

TModelPrimaryKey

Parameters ​

newAssociation? ​

TModel | TModelPrimaryKey

options? ​

HasManyAddAssociationMixinOptions

Returns ​

Promise<void>

Released under the MIT License.