Db\Adapter::sharedLock

public sharedLock (mixed $sqlQuery) Returns a SQL modified with a LOCK IN SHARE MODE clause

Db\Adapter::setEventsManager

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

Db\Adapter::setDialect

public setDialect (Phalcon\Db\DialectInterface $dialect) Sets the dialect used to produce the SQL

Db\Adapter::modifyColumn

public modifyColumn (mixed $tableName, mixed $schemaName, Phalcon\Db\ColumnInterface $column, [Phalcon\Db\ColumnInterface $currentColumn]) Modifies a table column based on a definition

Db\Adapter::releaseSavepoint

public releaseSavepoint (mixed $name) Releases given savepoint

Db\Adapter::setNestedTransactionsWithSavepoints

public setNestedTransactionsWithSavepoints (mixed $nestedTransactionsWithSavepoints) Set if nested transactions should use savepoints

Db\Adapter::limit

public limit (mixed $sqlQuery, mixed $number) Appends a LIMIT clause to $sqlQuery argument echo $connection->limit("SELECT * FROM robots", 5);

Db\Adapter::getType

public getType () Type of database system the adapter is used for

Db\Adapter::insert

public boolean insert (string | array $table, array $values, [array $fields], [array $dataTypes]) Inserts data into a table using custom RDBMS SQL syntax // Inserting a new robot $success = $connection->insert( "robots", array("Astro Boy", 1952), array("name", "year") ); // Next SQL sentence is sent to the database system INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952);

Db\Adapter::isNestedTransactionsWithSavepoints

public isNestedTransactionsWithSavepoints () Returns if nested transactions should use savepoints