class Result implements Result

Methods

__construct(PDOStatement $result, Connection $connection)

No description

array|null
fetch()

Fetches the next row from the result set as an associative array.

array|null
fetchList()

Fetches the next row from the result set as an indexed array.

int
getColumnCount()

Returns the number of columns in the result set.

int
getRowCount()

Returns the number of rows in the result set or number of affected rows

array
getColumnsInfo()

Returns metadata for all columns in a result set.

array
collectColumnsInfo()

No description

void
free()

Frees the result set.

Details

at line 22
__construct(PDOStatement $result, Connection $connection)

No description

Parameters

PDOStatement $result
Connection $connection

at line 29
array|null fetch()

Fetches the next row from the result set as an associative array.

Return Value

array|null

at line 44
array|null fetchList()

Fetches the next row from the result set as an indexed array.

Return Value

array|null

at line 60
int getColumnCount()

Returns the number of columns in the result set.

Return Value

int

at line 70
int getRowCount()

Returns the number of rows in the result set or number of affected rows

Return Value

int

at line 80
array getColumnsInfo()

Returns metadata for all columns in a result set.

Return Value

array

at line 86
protected array collectColumnsInfo()

No description

Return Value

array

at line 103
void free()

Frees the result set.

Return Value

void