Result
class Result implements IteratorAggregate
Represents a result set.
Methods
No description
No description
No description
No description
Displays complete result set as HTML table for debug purposes.
No description
Returns the next row as an associative array or null if there are no more rows.
Returns the next row as an object Row or null if there are no more rows.
Returns the first field of the next row or null if there are no more rows.
Returns the next row as indexes array or null if there are no more rows.
Alias for fetchList().
Fetches all rows as associative array.
Fetches all rows.
Details
at line 28
__construct(Explorer $explorer, SqlLiteral $query, Result|null $result, float $time)
No description
at line 38
Explorer
getConnection()
deprecated
deprecated
No description
at line 45
SqlLiteral
getQuery()
No description
at line 52
string
getQueryString()
deprecated
deprecated
No description
at line 59
array
getParameters()
deprecated
deprecated
No description
at line 65
int|null
getColumnCount()
No description
at line 71
int|null
getRowCount()
No description
at line 77
float
getTime()
No description
at line 89
void
dump()
Displays complete result set as HTML table for debug purposes.
at line 99
Generator
getIterator()
No description
at line 118
array|null
fetchAssoc(string|null $path = null)
Returns the next row as an associative array or null if there are no more rows.
at line 142
Row|null
fetch()
Returns the next row as an object Row or null if there are no more rows.
at line 152
mixed
fetchField()
Returns the first field of the next row or null if there are no more rows.
at line 162
array|null
fetchList()
Returns the next row as indexes array or null if there are no more rows.
at line 172
array|null
fetchFields()
Alias for fetchList().
at line 181
array
fetchPairs(string|int|Closure|null $keyOrCallback = null, string|int|null $value = null)
Fetches all rows as associative array.
at line 191
array
fetchAll()
Fetches all rows.