Skip to content

postgrelize / HasOne

Type Alias: HasOne<S, T> ​

HasOne<S, T> = HasOneAssociation<S, T>

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

The association created by Model.hasOne (Sequelize v6 HasOne class type); the @HasOne 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.