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
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 27
__construct(PDOStatement $result, PdoDriver $driver)

No description

Parameters

PDOStatement $result
PdoDriver $driver

at line 34
array|null fetch()

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

Return Value

array|null

at line 46
int getColumnCount()

Returns the number of columns in a result set.

Return Value

int

at line 52
int getRowCount()

Returns the number of rows in a result set.

Return Value

int

at line 58
array getColumnTypes()

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

Return Value

array

at line 64
array getColumnMeta(int $col)

Returns associative array of original table names.

Parameters

int $col

Return Value

array

at line 70
PDOStatement getPdoStatement()

No description

Return Value

PDOStatement

Traits

SmartObject