Skip to content

postgrelize / HasManyRemoveAssociationMixin

Type Alias: HasManyRemoveAssociationMixin<TModel, TModelPrimaryKey> ​

HasManyRemoveAssociationMixin<TModel, TModelPrimaryKey> = (oldAssociated?, options?) => Promise<void>

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

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

Type Parameters ​

TModel ​

TModel

TModelPrimaryKey ​

TModelPrimaryKey

Parameters ​

oldAssociated? ​

TModel | TModelPrimaryKey

options? ​

HasManyRemoveAssociationMixinOptions

Returns ​

Promise<void>

Released under the MIT License.