Skip to content

postgrelize / BelongsToManyRemoveAssociationsMixin

Type Alias: BelongsToManyRemoveAssociationsMixin<TModel, TModelPrimaryKey> ​

BelongsToManyRemoveAssociationsMixin<TModel, TModelPrimaryKey> = (oldAssociateds?, options?) => Promise<void>

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

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

Type Parameters ​

TModel ​

TModel

TModelPrimaryKey ​

TModelPrimaryKey

Parameters ​

oldAssociateds? ​

(TModel | TModelPrimaryKey)[]

options? ​

BelongsToManyRemoveAssociationsMixinOptions

Returns ​

Promise<void>

Released under the MIT License.