interface QueryResultInterface implements Countable, Iterator, ArrayAccess (View source)

A lazy result list that is returned by Query::execute()

Methods

getQuery()

Returns a clone of the query object

object|null
getFirst()

Returns the first object in the result set

array
toArray()

Returns an array with the objects in the result set

Details

QueryInterface getQuery()

Returns a clone of the query object

Return Value

QueryInterface

object|null getFirst()

Returns the first object in the result set

Return Value

object|null

array toArray()

Returns an array with the objects in the result set

Return Value

array