Class Statement
A database statement.
- PDOStatement implements Traversable
- ┗ ICanBoogie\ActiveRecord\Statement uses ICanBoogie\Accessor\AccessorTrait (not available)
Methods summary
public
__invoke( void )
: ICanBoogie\ActiveRecord\Statement
public
mode( mixed $mode
)
: ICanBoogie\ActiveRecord\Statement
Set the fetch mode for the statement.
public
one( integer $fetch_style
= \PDO::FETCH_BOTH, integer $cursor_orientation
= \PDO::FETCH_ORI_NEXT, integer $cursor_offset
= 0 )
: mixed
Fetches the first row of the result set and closes the cursor.
protected
get_rc( void )
: string
Fetches the first column of the first row of the result set and closes the cursor.
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