final class ImplicitColumn
    uses Snapshot
Public API: explicitly declared with @visibility public.

A column a table has without declaring it, such as a row identifier or a system column.

It is found by any of its names when no declared column has that name, and it is not part of *. When it is another name for a declared column, the reference resolves to that declared column.

Declaring an implicit row identifierdoctest
$semantics = new \SqlSemantics\Platform\Sqlite\Semantics();
    $table = $semantics->analyze('CREATE TABLE t (a TEXT)')->declarations()[0];
    $table->implicit[0]->names[0]->value // => 'rowid'

Properties§

public non-empty-list<Name> $names
public Column $column

Methods§

public function __construct(list<Name> $names, public Column $column)

Parameters

$nameslist<Name>Every name that finds the column; at least one
$columnColumnThe column a reference resolves to; a declared column of the table when the implicit column is an alias of it
Calls 2

Test cases 3§

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 2

Relations§

Instantiated in 1
Constant reads 1
Type declarations 1