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

The unqualified * of a select list: every column of every table of the FROM clause.

MySQL accepts it only as the first item of the list. The selection expands it (MYSQL-STAR-001). Source: https://dev.mysql.com/doc/refman/8.4/en/select.html.

Reading a star itemdoctest
$query = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('SELECT * FROM t');
    $query->statement->items[0] instanceof \SqlSemantics\Platform\MySql\Statement\Query\Star // => true

Methods§

public function render(Output $out): void

Writes the star.

Parameters

$outOutput
Calls 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§

Instantiated in 1
Type checks 3