Skip to content

postgrelize / HasManyHasAssociationMixin

Type Alias: HasManyHasAssociationMixin<TModel, TModelPrimaryKey> ​

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

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

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

Type Parameters ​

TModel ​

TModel

TModelPrimaryKey ​

TModelPrimaryKey

Parameters ​

target ​

TModel | TModelPrimaryKey

options? ​

HasManyHasAssociationMixinOptions

Returns ​

Promise<boolean>

Released under the MIT License.