final class CopyAllColumns
    implements OptionArgument
    uses Snapshot
Public API: explicitly declared with @visibility public.

The argument * of a COPY option: every column copied.

Mirrors the A_Star argument of a COPY DefElem. Source: https://www.postgresql.org/docs/17/sql-copy.html.

Reading the star argumentdoctest
$copy = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('COPY t TO STDOUT (force_quote *)');
    $copy->statement->options[0]->argument instanceof \SqlSemantics\Platform\PostgreSql\Statement\Manipulation\Copy\CopyAllColumns // => true

Methods§

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

Derives nothing: the star holds no expression.

Parameters

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

Writes the star.

Parameters

$outOutput
Calls 1

Test cases 1§

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

Dedicated tests 1

Relations§

Instantiated in 1
Type checks 1