Skip to content

postgrelize / ForeignKey

Type Alias: ForeignKey<T> ​

ForeignKey<T> = ForeignKeyType<T>

Defined in: src/decorators/foreign-key-decorator.ts:7

Marks an attribute type as a foreign key, so it stays out of the creation attributes (Sequelize v6 ForeignKey).

Type Parameters ​

T ​

T

Released under the MIT License.