interface Query
    extends Node
Public API: explicitly declared with @visibility public.

A row-producing query body: a selection, a row list, a set operation, and so on.

A query nested in another statement may refer to the enclosing query; it is not a statement root of its own.

Reading the output fields of a querydoctest
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('SELECT 1 AS one');
    $operation->field('one')->position // => 0

Methods§

public function deriveQuery(Derivation $derivation, Environment $outer): QueryFact

Derives the output of this query inside the environment of its use position.

Parameters

$derivationDerivation
$outerEnvironment

Returns

Called from 1

Test cases 26§

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

Other tests reaching this symbol 26

Relations§

Implemented by 6
Extended by 1
Method calls 6
Type checks 6
Type declarations 41