final class AllFields
    implements IndirectionStep
    uses Snapshot
Public API: explicitly declared with @visibility public.

The indirection step .*: every field of a composite value.

Mirrors an A_Star item. It may only end an indirection; in a select list or a row constructor it expands to the fields, elsewhere it stands for the whole composite value. Source: https://www.postgresql.org/docs/17/rowtypes.html#ROWTYPES-USAGE.

Writing every field of a parameterdoctest
(new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('SELECT ($1).*')->toString() // => 'SELECT ($1).*'

Methods§

public function field(): ?Name

Answers null: the step selects every field, not one.

Returns

Test cases 1
public function deriveClause(Derivation $derivation, Environment $environment): void

Derives nothing: the step holds no expression.

Parameters

$derivationDerivation
$environmentEnvironment
Test cases 1
public function render(Output $out): void

Writes the dot and the star.

Parameters

$outOutput
Test cases 1
Calls 1

Test cases 5§

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

Dedicated tests 3
Other tests reaching this symbol 2

Relations§

Instantiated in 1
Type checks 6