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
Normalizes result row.
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 51
__construct(Connection $connection, string $queryString, array $params)
No description
at line 82
Connection
getConnection()
No description
at line 91
PDOStatement
getPdoStatement()
internal |
No description
at line 97
string
getQueryString()
No description
at line 103
array
getParameters()
No description
at line 109
int|null
getColumnCount()
No description
at line 115
int|null
getRowCount()
No description
at line 121
float
getTime()
No description
at line 130
array
normalizeRow(array $row)
Normalizes result row.
at line 181
void
dump()
Displays complete result set as HTML table for debug purposes.
at line 190
void
rewind()
No description
at line 198
current()
No description
at line 204
key()
No description
at line 210
void
next()
No description
at line 216
bool
valid()
No description
at line 229
IRow|null
fetch()
Fetches single row object.
at line 256
mixed
fetchField($column = 0)
Fetches single field.
at line 269
array|null
fetchFields()
Fetches array of fields.
at line 279
array
fetchPairs(string|int $key = null, string|int $value = null)
Fetches all rows as associative array.
at line 288
array
fetchAll()
Fetches all rows.
at line 300
array
fetchAssoc(string $path)
Fetches all rows and returns associative tree.
Traits
Strict class for better experience.