Skip to content

postgrelize / BelongsToCreateAssociationMixin

Type Alias: BelongsToCreateAssociationMixin<TModel> ​

BelongsToCreateAssociationMixin<TModel> = (values?, options?) => Promise<TModel>

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

Type of the createX accessor of a belongsTo association (Sequelize v6).

Type Parameters ​

TModel ​

TModel extends AnyModel

Parameters ​

values? ​

CreationAttributes<TModel>

options? ​

BelongsToCreateAssociationMixinOptions

Returns ​

Promise<TModel>

Released under the MIT License.