Query
Read onlyYes
FinalYes
The rows a read returns: the selected columns (all root columns when none) of the rows matching the filter, the offset and the limit counted over the matching rows.
Properties
Methods
- __construct() : mixed
- limit() : self
- offset() : self
- select() : self
- where() : self
- A second filter narrows the first: both must match.
Properties
$columns
public
array<int, string>
$columns
$filter
public
Filter|null
$filter
= null
$limit
public
int|null
$limit
= null
$offset
public
int
$offset
= 0
Methods
__construct()
public
__construct([array<string|int, string> $columns = [] ][, Filter|null $filter = null ][, int $offset = 0 ][, int|null $limit = null ]) : mixed
Parameters
- $columns : array<string|int, string> = []
- $filter : Filter|null = null
- $offset : int = 0
- $limit : int|null = null
limit()
public
limit(int $limit) : self
Parameters
- $limit : int
Return values
selfoffset()
public
offset(int $offset) : self
Parameters
- $offset : int
Return values
selfselect()
public
select(string ...$columns) : self
Parameters
- $columns : string
Return values
selfwhere()
A second filter narrows the first: both must match.
public
where(Filter $filter) : self
Parameters
- $filter : Filter