-
Notifications
You must be signed in to change notification settings - Fork 5
WITH clause
Marijn van Wezel edited this page Jan 1, 2023
·
3 revisions
The WITH
clause allows query parts to be chained together, piping the results from one to be used as starting points or criteria in the next.
Query::with(Alias|AnyType|bool|float|int|mixed[]|Pattern|string|(Alias|AnyType|bool|float|int|mixed[]|Pattern|string)[] $expressions): Query
-
$expressions
: An entry to add, or a non-empty list of entries to add; if the array-key is non-numerical, it is used as the alias.
-
addEntry(Alias|Pattern|string|Variable ...$entries): self
: Add one or more new entries to theWITH
clause.