QueryResultInterface extends Countable, Iterator, ArrayAccess
A lazy result list that is returned by Query::execute()
Table of Contents
Methods
- getFirst() : object|null
- Returns the first object in the result set
- getQuery() : QueryInterface
- Returns a clone of the query object
- toArray() : array<string|int, mixed>
- Returns an array with the objects in the result set
Methods
getFirst()
Returns the first object in the result set
public
getFirst() : object|null
Return values
object|nullgetQuery()
Returns a clone of the query object
public
getQuery() : QueryInterface
Return values
QueryInterfacetoArray()
Returns an array with the objects in the result set
public
toArray() : array<string|int, mixed>