Db\AdapterInterface::addForeignKey

abstract public addForeignKey (mixed $tableName, mixed $schemaName, Phalcon\Db\ReferenceInterface $reference) ...

Db\AdapterInterface::addColumn

abstract public addColumn (mixed $tableName, mixed $schemaName, Phalcon\Db\ColumnInterface $column) ...

Db\AdapterInterface::affectedRows

abstract public affectedRows () ...

Db\Adapter::update

public boolean update (string | array $table, array $fields, array $values, [string | array $whereCondition], [array $dataTypes]) Updates data on a table using custom RBDM SQL syntax //Updating existing robot $success = $connection->update( "robots", array("name"), array("New Astro Boy"), "id = 101" ); //Next SQL sentence is sent to the database system UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 //Updating existing robot with array condition and $dataTypes $success =

Db\Adapter::updateAsDict

public boolean updateAsDict (string $table, array $data, [string $whereCondition], [array $dataTypes]) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax //Updating existing robot $success = $connection->updateAsDict( "robots", array( "name" => "New Astro Boy" ), "id = 101" ); //Next SQL sentence is sent to the database system UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101

Db\Adapter::tableExists

public tableExists (mixed $tableName, [mixed $schemaName]) Generates SQL checking for the existence of a schema.table var_dump($connection->tableExists("blog", "posts"));

Db\Adapter::tableOptions

public tableOptions (mixed $tableName, [mixed $schemaName]) Gets creation options from a table print_r($connection->tableOptions('robots'));

Db\Adapter::supportSequences

public supportSequences () Check whether the database system requires a sequence to produce auto-numeric values

Db\Adapter::useExplicitIdValue

public useExplicitIdValue () Check whether the database system requires an explicit value for identity columns

Db\Adapter::setEventsManager

public setEventsManager (Phalcon\Events\ManagerInterface $eventsManager) Sets the event manager