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 $expression

Methods§

public function __construct(public QueryExpression $expression)

Parameters

$expressionQueryExpressionThe query expression whose clauses are handed down
public function deriveRelation(Derivation $derivation, Environment $environment): RelationFact

Answers the row without columns a carrier contributes.

Parameters

$derivationDerivation
$environmentEnvironment
Test cases 1
Calls 2
public function render(Output $out): void

Writes nothing: a carrier is not written.

Parameters

$outOutput
Test cases 1

Test cases 3§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 2
Other tests reaching this symbol 1

Relations§

Instantiated in 1
Type checks 1