Db\AdapterInterface

Interface Phalcon\Db\AdapterInterface

Phalcon\Db\AdapterInterface initializer

Methods

abstract public array fetchOne (string $sqlQuery, [int $fetchMode], [int $placeholders])

Returns the first row in a SQL query result

abstract public array fetchAll (string $sqlQuery, [int $fetchMode], [int $placeholders])

Dumps the complete result of a query into an array

abstract public boolean insert (string $table, array $values, [array $fields], [array $dataTypes])

Inserts data into a table using custom RBDM SQL syntax

abstract public