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
Afficher le fichier Open project: dbpatch/dbpatch

Méthodes publiques

Méthode 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 méthode

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

fetchAll() public méthode

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