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 34
__construct(Connection $connection, string $queryString, array $params, callable|null $normalizer = null)
No description
at line 69
Connection
getConnection()
deprecated
deprecated
No description
at line 78
PDOStatement|null
getPdoStatement()
internal |
No description
at line 84
string
getQueryString()
No description
at line 90
array
getParameters()
No description
at line 96
int|null
getColumnCount()
No description
at line 102
int|null
getRowCount()
No description
at line 108
array
getColumnTypes()
No description
at line 115
float
getTime()
No description
at line 122
array
normalizeRow(array $row)
internal |
No description
at line 136
void
dump()
Displays complete result set as HTML table for debug purposes.
at line 145
void
rewind()
No description
at line 153
Row|false|null
current()
No description
at line 159
int
key()
No description
at line 165
void
next()
No description
at line 171
bool
valid()
No description
at line 184
Row|null
fetch()
Fetches single row object.
at line 211
mixed
fetchField()
Fetches single field.
at line 221
array|null
fetchFields()
Fetches array of fields.
at line 231
array
fetchPairs(string|int|Closure|null $keyOrCallback = null, string|int|null $value = null)
Fetches all rows as associative array.
at line 241
array
fetchAll()
Fetches all rows.
at line 251
array
fetchAssoc(string $path)
Fetches all rows and returns associative tree.