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

One occurrence of an input relation: a named table, a join, a derived query, and so on.

Two occurrences of the same declared table are two relations.

Reading the input relation of a querydoctest
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('SELECT a FROM t');
    $operation->inputRelation() instanceof \SqlSemantics\Platform\PostgreSql\Model\Statement\Relation // => true

Methods§

public function deriveRelation(Derivation $derivation, Environment $environment): RelationFact

Derives the ordered row shape this occurrence contributes.

Parameters

$derivationDerivation
$environmentEnvironment
Called from 1

Test cases 11§

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

Other tests reaching this symbol 11

Relations§

Implemented by 22
Extended by 2
Method calls 3
Constant reads 3
Type checks 1
Type declarations 32