| Methods |
public
|
fetchNumeric(): list<mixed>|false
Returns the next row of the result as a numeric array or FALSE if there are no more rows.
Returns the next row of the result as a numeric array or FALSE if there are no more rows.
Throws
|
#
|
public
|
fetchAssociative(): array<string, mixed>|false
Returns the next row of the result as an associative array or FALSE if there are no more rows.
Returns the next row of the result as an associative array or FALSE if there are no more rows.
Throws
|
#
|
public
|
fetchOne(): mixed|false
Returns the first value of the next row of the result or FALSE if there are no more rows.
Returns the first value of the next row of the result or FALSE if there are no more rows.
Throws
|
#
|
public
|
fetchAllNumeric(): list<list<mixed>>
Returns an array containing all of the result rows represented as numeric arrays.
Returns an array containing all of the result rows represented as numeric arrays.
Throws
|
#
|
public
|
fetchAllAssociative(): list<array<string, mixed>>
Returns an array containing all of the result rows represented as associative arrays.
Returns an array containing all of the result rows represented as associative arrays.
Throws
|
#
|
public
|
fetchAllKeyValue(): array<mixed, mixed>
Returns an array containing the values of the first column of the result.
Returns an array containing the values of the first column of the result.
Throws
|
#
|
public
|
fetchAllAssociativeIndexed(): array<mixed, array<string, mixed>>
Returns an associative array with the keys mapped to the first column and the values being
an associative array…
Returns an associative array with the keys mapped to the first column and the values being
an associative array representing the rest of the columns and their values.
Throws
|
#
|
public
|
fetchFirstColumn(): list<mixed>
|
#
|
public
|
iterateNumeric(): Traversable<int, list<mixed>>
|
#
|
public
|
iterateAssociative(): Traversable<int, array<string, mixed>>
|
#
|
public
|
iterateKeyValue(): Traversable
{@inheritDoc}
|
#
|
public
|
iterateAssociativeIndexed(): Traversable<mixed, array<string, mixed>>
Returns an iterator over the result set with the keys mapped to the first column and the values being
an associative…
Returns an iterator over the result set with the keys mapped to the first column and the values being
an associative array representing the rest of the columns and their values.
Throws
|
#
|
public
|
iterateColumn(): Traversable<int, mixed>
|
#
|
public
|
rowCount(): int
|
#
|
public
|
columnCount(): int
|
#
|
public
|
free(): void
|
#
|
private
|
ensureHasKeyValue(): void
|
#
|
public
|
fetch(FetchMode::* $mode = FetchMode::ASSOCIATIVE): mixed
BC layer for a wide-spread use-case of old DBAL APIs
BC layer for a wide-spread use-case of old DBAL APIs
Deprecated
Use {@see fetchNumeric()}, {@see fetchAssociative()} or {@see fetchOne()} instead.
Throws
|
#
|
public
|
fetchAll(FetchMode::* $mode = FetchMode::ASSOCIATIVE): list<mixed>
BC layer for a wide-spread use-case of old DBAL APIs
BC layer for a wide-spread use-case of old DBAL APIs
Deprecated
Use {@see fetchAllNumeric()}, {@see fetchAllAssociative()} or {@see fetchFirstColumn()} instead.
Throws
|
#
|