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.
No description
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 40
__construct(Connection $connection, string $queryString, array $params, callable|null $normalizer = null)
No description
at line 64
Connection
getConnection()
deprecated
deprecated
No description
at line 73
PDOStatement|null
getPdoStatement()
internal |
No description
at line 79
string
getQueryString()
No description
at line 85
array
getParameters()
No description
at line 91
int|null
getColumnCount()
No description
at line 97
int|null
getRowCount()
No description
at line 103
array
getColumnTypes()
No description
at line 113
float
getTime()
No description
at line 120
array
normalizeRow(array $row)
internal |
No description
at line 134
void
dump()
Displays complete result set as HTML table for debug purposes.
at line 143
void
rewind()
No description
at line 151
mixed
current()
No description
at line 157
mixed
key()
No description
at line 163
void
next()
No description
at line 169
bool
valid()
No description
at line 182
Row|null
fetch()
Fetches single row object.
at line 206
array|null
fetchArray()
internal |
No description
at line 215
mixed
fetchField()
Fetches single field.
at line 225
array|null
fetchFields()
Fetches array of fields.
at line 237
array
fetchPairs(string|int|null $key = null, string|int|null $value = null)
Fetches all rows as associative array.
at line 247
array
fetchAll()
Fetches all rows.
at line 260
array
fetchAssoc(string $path)
Fetches all rows and returns associative tree.
Traits
Strict class for better experience.