Skip to content

postgrelize / HasManyRemoveAssociationsMixin

Type Alias: HasManyRemoveAssociationsMixin<TModel, TModelPrimaryKey> ​

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

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

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

Type Parameters ​

TModel ​

TModel

TModelPrimaryKey ​

TModelPrimaryKey

Parameters ​

oldAssociateds? ​

(TModel | TModelPrimaryKey)[]

options? ​

HasManyRemoveAssociationsMixinOptions

Returns ​

Promise<void>

Released under the MIT License.