Db\Reference::getOnDelete

public getOnDelete () ON DELETE

Db\Reference::getColumns

public getColumns () Local reference columns

Db\Profiler\Item::setSqlStatement

public setSqlStatement (mixed $sqlStatement) SQL statement related to the profile

Db\Reference

implements Phalcon\Db\ReferenceInterface Source on GitHub 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") )); Methods public getName () Constraint name public getSchemaName () ... public getReferencedSchema () ... public getReferencedTable () Ref

Db\RawValue

Source on GitHub This class allows to insert/update raw data without quoting or formatting. The next example shows how to use the MySQL now() function as a field value. $subscriber = new Subscribers(); $subscriber->email = '[email protected]'; $subscriber->createdAt = new \Phalcon\Db\RawValue('now()'); $subscriber->save(); Methods public getValue () Raw value without quoting or formatting public __toString () Raw value without quoting or formatting public __construct (mixed $value) Ph

Db\RawValue::getValue

public getValue () Raw value without quoting or formatting

Db\Reference::getName

public getName () Constraint name

Db\Profiler\Item::setInitialTime

public setInitialTime (mixed $initialTime) Timestamp when the profile started

Db\Profiler\Item::getSqlStatement

public getSqlStatement () SQL statement related to the profile

Db\Profiler\Item::getTotalElapsedSeconds

public getTotalElapsedSeconds () Returns the total time in seconds spent by the profile