Skip to content

postgrelize / BelongsToManyHasAssociationsMixin

Type Alias: BelongsToManyHasAssociationsMixin<TModel, TModelPrimaryKey> ​

BelongsToManyHasAssociationsMixin<TModel, TModelPrimaryKey> = (targets, options?) => Promise<boolean>

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

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

Type Parameters ​

TModel ​

TModel

TModelPrimaryKey ​

TModelPrimaryKey

Parameters ​

targets ​

(TModel | TModelPrimaryKey)[]

options? ​

BelongsToManyHasAssociationsMixinOptions

Returns ​

Promise<boolean>

Released under the MIT License.