ViewResult
in package
Class for retrieving results from view queries.
Table of Contents
- $meta : ViewMetaData
- $rows : array<string|int, mixed>
- __construct() : mixed
- metaData() : ViewMetaData|null
- Returns metadata generated during query execution
- rows() : array<string|int, mixed>|null
- Returns any rows returned by the query
Properties
$meta
private
ViewMetaData
$meta
$rows
private
array<string|int, mixed>
$rows
Methods
__construct()
public
__construct(array<string|int, mixed> $result) : mixed
Parameters
- $result : array<string|int, mixed>
Return values
mixed —metaData()
Returns metadata generated during query execution
public
metaData() : ViewMetaData|null
Return values
ViewMetaData|null —rows()
Returns any rows returned by the query
public
rows() : array<string|int, mixed>|null