ResultSet
class ResultSet implements Iterator, IRowContainer
Represents a result set.
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
Displays complete result set as HTML table for debug purposes.
No description
No description
No description
No description
No description
Fetches single row object.
Fetches single field.
Fetches array of fields.
Fetches all rows as associative array.
Fetches all rows.
Fetches all rows and returns associative tree.
Details
at line 54
__construct(Connection $connection, string $queryString, array $params, callable|null $normalizer = null)
No description
at line 92
Connection
getConnection()
deprecated
deprecated
No description
at line 101
PDOStatement|null
getPdoStatement()
internal |
No description
at line 107
string
getQueryString()
No description
at line 113
array
getParameters()
No description
at line 119
int|null
getColumnCount()
No description
at line 125
int|null
getRowCount()
No description
at line 131
array
getColumnTypes()
No description
at line 141
float
getTime()
No description
at line 148
array
normalizeRow(array $row)
internal |
No description
at line 162
void
dump()
Displays complete result set as HTML table for debug purposes.
at line 171
void
rewind()
No description
at line 179
current()
No description
at line 186
key()
No description
at line 193
void
next()
No description
at line 199
bool
valid()
No description
at line 212
Row|null
fetch()
Fetches single row object.
at line 240
mixed
fetchField($column = 0)
Fetches single field.
at line 254
array|null
fetchFields()
Fetches array of fields.
at line 266
array
fetchPairs(string|int $key = null, string|int $value = null)
Fetches all rows as associative array.
at line 276
array
fetchAll()
Fetches all rows.
at line 290
array
fetchAssoc(string $path)
Fetches all rows and returns associative tree.