Options
All
  • Public
  • Public/Protected
  • All
Menu

Foreign key options.

Hierarchy

  • TableForeignKeyOptions

Index

Properties

columnNames

columnNames: string[]

Column names which included by this foreign key.

Optional name

name: undefined | string

Name of the table which contains this foreign key.

Optional onDelete

onDelete: undefined | string

"ON DELETE" of this foreign key, e.g. what action database should perform when referenced stuff is being deleted.

Optional onUpdate

onUpdate: undefined | string

"ON UPDATE" of this foreign key, e.g. what action database should perform when referenced stuff is being updated.

referencedColumnNames

referencedColumnNames: string[]

Column names which included by this foreign key.

referencedTableName

referencedTableName: string

Table referenced in the foreign key.

Generated using TypeDoc