PHP Класс Zend_Db_Statement_Pdo_Oci

Matches the interface of PDOStatement. All methods simply proxy to the matching method in PDOStatement. PDOExceptions thrown by PDOStatement are re-thrown as Zend_Db_Statement_Exception.
Наследование: extends Zend_Db_Statement_Pdo
Показать файл Открыть проект

Открытые методы

Метод Описание
fetch ( integer $style = null, integer $cursor = null, integer $offset = null ) : mixed Fetches a row from the result set.
fetchAll ( integer $style = null, integer $col = null ) : array Returns an array containing all of the result set rows.

Описание методов

fetch() публичный Метод

Fetches a row from the result set.
public fetch ( integer $style = null, integer $cursor = null, integer $offset = null ) : mixed
$style integer OPTIONAL Fetch mode for this fetch operation.
$cursor integer OPTIONAL Absolute, relative, or other.
$offset integer OPTIONAL Number for absolute or relative cursors.
Результат mixed Array, object, or scalar depending on fetch mode.

fetchAll() публичный Метод

Behaves like parent, but if limit() is used, the final result removes the extra column 'zend_db_rownum'
public fetchAll ( integer $style = null, integer $col = null ) : array
$style integer OPTIONAL Fetch mode.
$col integer OPTIONAL Column number, if fetch mode is by column.
Результат array Collection of rows, each in a format by the fetch mode.