Skip to content

postgrelize / BelongsToManyHasAssociationMixin

Type Alias: BelongsToManyHasAssociationMixin<TModel, TModelPrimaryKey> ​

BelongsToManyHasAssociationMixin<TModel, TModelPrimaryKey> = (target, options?) => Promise<boolean>

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

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

Type Parameters ​

TModel ​

TModel

TModelPrimaryKey ​

TModelPrimaryKey

Parameters ​

target ​

TModel | TModelPrimaryKey

options? ​

BelongsToManyHasAssociationMixinOptions

Returns ​

Promise<boolean>

Released under the MIT License.