final class Star
    implements Node
    uses Snapshot
Public API: explicitly declared with @visibility public.

The result column *: every column of every input relation.

Reading the columns a star selectsdoctest
$semantics = new \SqlSemantics\Platform\Sqlite\Semantics();
    $table = $semantics->analyze('CREATE TABLE t (a INTEGER, b TEXT)');
    $query = $semantics->analyze('SELECT * FROM t', [$table]);
    [$query->statement->columns[0] instanceof \SqlSemantics\Platform\Sqlite\Statement\Query\Star, count($query->fields())] // => [true, 2]

Methods§

public function render(Output $out): void

Writes the star.

Parameters

$outOutput
Calls 1

Test cases 35§

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

Dedicated tests 2
Other tests reaching this symbol 33

Relations§

Instantiated in 1
Constant reads 6
Type checks 1