Class ForeignKey
Class for representing a foreign key constraint in SQL
-
Alchemy\core\Element
implements
Alchemy\core\IElement
-
Alchemy\core\schema\TableElement
-
Alchemy\core\schema\Index
-
Alchemy\core\schema\ForeignKey
Methods summary
public
Alchemy\core\schema\Table
|
#
getSourceTable( )
Get the table the key references
Get the table the key references
Returns
|
public
array
|
#
listSources( )
Get the columns the key references
Get the columns the key references
Returns
array
|
public
|
|
protected
|
|
Methods inherited from Alchemy\core\Element
__callStatic(),
__clone(),
addTag(),
addTags(),
define(),
define_alias(),
getDescription(),
getID(),
getTag(),
getType(),
get_definition(),
listTags(),
normalize_arg()
|
Properties summary
protected static
array
|
$default_args
|
array(
array(), array(),
'ondelete' => 'restrict',
'onupdate' => 'restrict') |
|
protected
mixed
|
$sources
|
|
|