Method |
Description |
|
__construct ( Command $command, array $config = [] ) |
Constructor. |
|
bindColumn ( integer | string $column, mixed &$value, integer $dataType = null ) |
Binds a column to a PHP variable. |
|
close ( ) |
Closes the reader. |
|
count ( ) : integer |
Returns the number of rows in the result set. |
|
current ( ) : mixed |
Returns the current row. |
|
getColumnCount ( ) : integer |
Returns the number of columns in the result set. |
|
getIsClosed ( ) : boolean |
whether the reader is closed or not. |
|
getRowCount ( ) : integer |
Returns the number of rows in the result set. |
|
key ( ) : integer |
Returns the index of the current row. |
|
next ( ) |
Moves the internal pointer to the next row. |
|
nextResult ( ) : boolean |
Advances the reader to the next result when reading the results of a batch of statements. |
|
read ( ) : array |
Advances the reader to the next row in a result set. |
|
readAll ( ) : array |
Reads the whole result set into an array. |
|
readColumn ( integer $columnIndex ) : mixed |
Returns a single column from the next row of a result set. |
|
readObject ( string $className, array $fields ) : mixed |
Returns an object populated with the next row of data. |
|
rewind ( ) |
Resets the iterator to the initial state. |
|
setFetchMode ( integer $mode ) |
Set the default fetch mode for this statement |
|
valid ( ) : boolean |
Returns whether there is a row of data at current position. |
|