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\Sqlite\Semantics())->analyze('SELECT a FROM t');
    $operation->inputRelation() instanceof \SqlSemantics\Platform\Sqlite\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 2§

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

Dedicated tests 1
Other tests reaching this symbol 1

Relations§

Implemented by 7
Extended by 1
Method calls 3
Constant reads 1
Type checks 1
Type declarations 18