Class Statement
A database statement.
- PDOStatement implements Traversable
-
ICanBoogie\ActiveRecord\Statement
uses
ICanBoogie\Accessor\AccessorTrait (not available)
Methods summary
protected
|
|
protected
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
mixed
|
|
protected
|
|
public
string
|
#
fetchColumnAndClose( integer $column_number = 0 )
Fetches a column of the first row of the result set and closes the cursor. |
protected
|
|
public
|
|
protected
|
|
protected
array
|
Methods inherited from PDOStatement
__sleep(),
__wakeup(),
bindColumn(),
bindParam(),
bindValue(),
closeCursor(),
columnCount(),
debugDumpParams(),
errorCode(),
errorInfo(),
fetch(),
fetchAll(),
fetchColumn(),
fetchObject(),
getAttribute(),
getColumnMeta(),
nextRowset(),
rowCount(),
setAttribute(),
setFetchMode()
Properties summary
Properties inherited from PDOStatement
$queryString
Magic properties
public
|
$connection
Connection associated with the statement. |
public read-only
array
|
$all
An array with the matching records. |
public read-only
array
|
$pairs
An array of key/value pairs, where key is the value of the first column and value the value of the second column. |
public read-only
mixed
|
$one
The first matching record. |
public read-only
string
|
$rc
The value of the first column of the first row. |