class SimplePDOStatement (View source)

Methods

array
fetchAll()

Returns an array containing all of the result set rows.

mixed
fetch()

Fetches the next row from a result set.

mixed
fetchColumn(int $column = 0)

Returns a single column from the next row of a result set.

mixed
errorInfo()

Fetch extended error information associated with the last operation on the statement handle.

object
queryStrings($statement)

Store all query strings for session.

object
queryParams($parameter, $variable, $data_type)

Store all query parameters for session.

string
fetchQueryStrings()

Fetch query strings/params for session.

Details

final array fetchAll()

Returns an array containing all of the result set rows.

Return Value

array

final mixed fetch()

Fetches the next row from a result set.

Return Value

mixed

final mixed fetchColumn(int $column = 0)

Returns a single column from the next row of a result set.

Parameters

int $column 0-indexed number of the column you wish to retrieve from the row

Return Value

mixed

final mixed errorInfo()

Fetch extended error information associated with the last operation on the statement handle.

Return Value

mixed

final object queryStrings($statement)

Store all query strings for session.

Parameters

$statement

Return Value

object

final object queryParams($parameter, $variable, $data_type)

Store all query parameters for session.

Parameters

$parameter
$variable
$data_type

Return Value

object

final string fetchQueryStrings()

Fetch query strings/params for session.

Return Value

string