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.

Reading a PostgreSQL system columndoctest
$semantics = new \SqlSemantics\Platform\PostgreSql\Semantics();
    $table = $semantics->analyze('CREATE TABLE t (a TEXT)')->declarations()[0];
    $table->implicit[0]->names[0]->value // => 'tableoid'

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

Relations§

Instantiated in 1
Constant reads 1