classCarrier
final class Carrier
implements Relation
Restricted visibility: declared "@visibility SqlSemantics\Platform\PostgreSql". Code outside that scope must not name this declaration.
The entry of an environment that hands the clauses of a query expression to the selection inside its parentheses.
Rule: PG-QUERY-OPTIONS-001 (see Carriers). The carrier travels as a visible occurrence with neither alias nor name and without any column, so no column name, qualifier or star can reach it; only Carriers::take() recognises it, by its class. It is a working value of one derivation and never part of a statement. Source: https://www.postgresql.org/docs/17/sql-select.html#SQL-ORDERBY. Status: Implemented.
Properties§
public QueryExpression $expressionMethods§
public function __construct(public QueryExpression $expression)Parameters
$expression | QueryExpression | The query expression whose clauses are handed down |
public function deriveRelation(Derivation $derivation, Environment $environment): RelationFactAnswers the row without columns a carrier contributes.
Parameters
$derivation | Derivation | |
$environment | Environment |
Returns
Test cases 1
Calls 2
- new RelationFact line 41
- new RowShape line 41
Test cases 3§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.