Skip to content

postgrelize / BelongsToGetAssociationMixin

Type Alias: BelongsToGetAssociationMixin<TModel> ​

BelongsToGetAssociationMixin<TModel> = (options?) => Promise<TModel>

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

Type of the getX accessor of a belongsTo association: declare getClient: BelongsToGetAssociationMixin<Client>; (Sequelize v6).

Type Parameters ​

TModel ​

TModel

Parameters ​

options? ​

BelongsToGetAssociationMixinOptions

Returns ​

Promise<TModel>

Released under the MIT License.