postgrelize / HasManyHasAssociationsMixin
Type Alias: HasManyHasAssociationsMixin<TModel, TModelPrimaryKey> ​
HasManyHasAssociationsMixin<
TModel,TModelPrimaryKey> = (targets,options?) =>Promise<boolean>
Defined in: src/associations/mixin-types.ts:434
Type of the hasXs accessor of a hasMany association (Sequelize v6).
Type Parameters ​
TModel ​
TModel
TModelPrimaryKey ​
TModelPrimaryKey
Parameters ​
targets ​
(TModel | TModelPrimaryKey)[]
options? ​
HasManyHasAssociationsMixinOptions
Returns ​
Promise<boolean>