class PdoResultDriver implements ResultDriver

PDO-based result-set driver.

Methods

__construct(PDOStatement $result, PdoDriver $driver)

No description

array|null
fetch()

Fetches the row at current position and moves the internal cursor to the next position.

int
getColumnCount()

Returns the number of columns in a result set.

int
getRowCount()

Returns the number of rows in a result set.

array
getColumns()

No description

array
getColumnTypes()

Returns associative array of detected types (IStructure::FIELD_*) in result set.

array
getColumnMeta(int $col)

Returns associative array of original table names.

getPdoStatement()

No description

Details

at line 26
__construct(PDOStatement $result, PdoDriver $driver)

No description

Parameters

PDOStatement $result
PdoDriver $driver

at line 33
array|null fetch()

Fetches the row at current position and moves the internal cursor to the next position.

Return Value

array|null

at line 45
int getColumnCount()

Returns the number of columns in a result set.

Return Value

int

at line 51
int getRowCount()

Returns the number of rows in a result set.

Return Value

int

at line 58
array getColumns()

No description

Return Value

array

at line 64
array getColumnTypes()

Returns associative array of detected types (IStructure::FIELD_*) in result set.

Return Value

array

at line 71
array getColumnMeta(int $col)

Returns associative array of original table names.

Parameters

int $col

Return Value

array

at line 78
PDOStatement getPdoStatement()

No description

Return Value

PDOStatement