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

A statement or query that reads rows from an input relation structure.

Reading the input relation of a selectiondoctest
$query = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('SELECT a FROM t JOIN u');
    $query->statement instanceof \SqlSemantics\Platform\Sqlite\Model\Statement\Selection // => true

Methods§

public function input(): ?Relation

Answers the input relation structure, or null when the selection has no input.

Returns

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 2
Type checks 1