PHP Class 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.
Inheritance: extends Zend_Db_Statement_Pdo
Show file Open project: dbpatch/dbpatch

Public Methods

Method Description
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.

Method Details

fetch() public method

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.
return mixed Array, object, or scalar depending on fetch mode.

fetchAll() public method

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.
return array Collection of rows, each in a format by the fetch mode.