Interface AttributeReferencesOptions

References options for the column's attributes


  • AttributeReferencesOptions


deferrable?: Deferrable

When to check for the foreign key constraint

PostgreSQL only

key?: string

The column on the target model that this foreign key references

model?: ModelStatic<Model<any, any>>

The Model to reference.

Ignored if table is specified.

table?: TableName

The name of the table to reference (the sql name).

Generated using TypeDoc