postgrelize / BelongsToSetAssociationMixin
Type Alias: BelongsToSetAssociationMixin<TModel, TPrimaryKey> ​
BelongsToSetAssociationMixin<
TModel,TPrimaryKey> = (newAssociation?,options?) =>Promise<void>
Defined in: src/associations/mixin-types.ts:354
Type of the setX accessor of a belongsTo association (Sequelize v6).
Type Parameters ​
TModel ​
TModel
TPrimaryKey ​
TPrimaryKey
Parameters ​
newAssociation? ​
TModel | TPrimaryKey
options? ​
BelongsToSetAssociationMixinOptions
Returns ​
Promise<void>