final class AbsentField
    implements FieldLookup
    uses Snapshot
Public API: explicitly declared with @visibility public.

No output field has the looked-up name, and the shape is complete.

Looking up an absent namedoctest
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('SELECT 1 AS a');
    $operation->lookupField('b')->name // => 'b'

Properties§

public string $name

Methods§

public function __construct(public string $name)

Parameters

$namestringThe looked-up name

Relations§

Instantiated in 1
Type declarations 1