QueryResultInterface extends Countable, Iterator, ArrayAccess

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

Tags
template
template
extends
extends

Table of Contents

Methods

getFirst()  : TValue|null
Returns the first object in the result set
getQuery()  : QueryInterface<string|int, TValue>
Returns a clone of the query object
setQuery()  : void
toArray()  : array<int, TValue>
Returns an array with the objects in the result set

Methods

getFirst()

Returns the first object in the result set

public getFirst() : TValue|null
Return values
TValue|null

toArray()

Returns an array with the objects in the result set

public toArray() : array<int, TValue>
Return values
array<int, TValue>
On this page

Search results