Constructor
new ForeignKey(foreignKey)
Initialize the foreign key.
Parameters:
Name |
Type |
Description |
foreignKey |
Object
|
An object containing a FK definition.
Properties
Name |
Type |
Description |
table |
string
|
The name of the owning table. |
column |
string
|
The name of the column in the owning
table. |
references |
Object
|
An object representing the
referenced table-column combination.
Properties
Name |
Type |
Description |
table |
string
|
The name of the referenced
table. |
column |
string
|
The name of the column in
the referenced table. |
|
|
- Source: