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
파일 보기 프로젝트 열기: dbpatch/dbpatch

공개 메소드들

메소드 설명
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.