Class ForeignKey
- Defined in: Configuration.nocache.js
Constructor Attributes | Constructor Name and Description |
---|---|
ForeignKey(name, foreignKeyNames, referencedTableName, referencedKeyNames)
A database foreign key.
|
Class Detail
ForeignKey(name, foreignKeyNames, referencedTableName, referencedKeyNames)
A database foreign key. Used to generate joins.
- Parameters:
- name
- foreignKeyNames
- referencedTableName
- referencedKeyNames
Field Detail
{string[]}
foreignKeyNames
The referencing/child column names that reference the key in a foreign table.
{string}
label
Text to display to the user when going from owning table to referenced table.
{string}
name
Name for debugging purposes.
{string[]}
referencedKeyNames
The referenced/parent table column names.
{string}
referencedTableName
The referenced/parent table name.
{string}
reverseLabel
Text to display to the user when going from the referenced table to the owning table.