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\Sqlite\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 1§

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

Dedicated tests 1

Relations§

Implemented by 4
Method calls 1
Type checks 4
Type declarations 23