FilterTrait
Table of Contents
Methods
- group() : mixed
- having() : $this
- Adds a 'having' clause to the query
- limit() : static
- orderBy() : $this
- Orders the query by certain value.
- startAt() : static
Methods
group()
public
group(string|array<string|int, mixed> $group) : mixed
Parameters
- $group : string|array<string|int, mixed>
having()
Adds a 'having' clause to the query
public
having(string $column, mixed $value[, string|null $needle = null ]) : $this
Parameters
- $column : string
- $value : mixed
- $needle : string|null = null
-
can be >, <, !,>=, <=. >< and <> are available for datetime
Return values
$thislimit()
public
limit(int $limit) : static
Parameters
- $limit : int
Tags
Return values
staticorderBy()
Orders the query by certain value.
public
orderBy(string|array<string|int, mixed> $value) : $this
Parameters
- $value : string|array<string|int, mixed>
Tags
Return values
$thisstartAt()
public
startAt([int $startPoint = 0 ]) : static
Parameters
- $startPoint : int = 0