Class ForeignKey

Hierarchy

  • ForeignKey

Constructors

Properties

foreign: Table
foreignColumns: Column[] = []
localColumns: Column[] = []
name: string
onDelete: ForeignKeyAction = 'CASCADE'
onUpdate: ForeignKeyAction = 'CASCADE'
table: Table

Methods

  • Parameters

    • localColumnName: string
    • foreignColumnName: string

    Returns void

Generated using TypeDoc