Documentation

DatabaseResult
in package

Holds the result of a Database query (e.g. read or write).

Table of Contents

Properties

$dbResult  : Result

Methods

__construct()  : mixed
getNumRecords()  : int
hasRecord()  : bool
record()  : DatabaseRecord
Use when exactly one record is expected from the result set.
records()  : Generator<string|int, DatabaseRecord>
Use to iterate over the records from the result set.

Properties

Methods

__construct()

public __construct(Result $dbResult) : mixed
Parameters
$dbResult : Result

        
On this page

Search results