implements Phalcon\Db\ReferenceInterface
Allows to define reference constraints on tables
$reference = new Phalcon\Db\Reference("field_fk", array( 'referencedSchema' => "invoicing", 'referencedTable' => "products", 'columns' => array("product_type", "product_code"), 'referencedColumns' => array("type", "code") ));
Phalcon\Db\Reference constructor
Gets the index name
Gets the schema where referenced table is
Gets the schema where referenced table is
Gets local columns which reference is based
Gets the referenced table
Gets referenced columns
Restore a Phalcon\Db\Reference object from export
© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/2.0.0/api/Phalcon_Db_Reference.html