Skip to content

postgrelize / BelongsTo

Type Alias: BelongsTo<S, T> ​

BelongsTo<S, T> = BelongsToAssociation<S, T>

Defined in: src/decorators/association-decorators.ts:27

The association created by Model.belongsTo (Sequelize v6 BelongsTo class type); the @BelongsTo decorator has the same name as a value.

Type Parameters ​

S ​

S extends AnyModel = AnyModel

T ​

T extends AnyModel = AnyModel

Released under the MIT License.