classCopyAllColumns
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.
$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 // => trueMethods§
public function deriveClause(Derivation $derivation, Environment $environment): voidDerives nothing: the star holds no expression.
Parameters
$derivation | Derivation | |
$environment | Environment |
public function render(Output $out): voidTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
CopyAllColumnsTestcalls