final class MergeInsertDefaults
    implements Node
    uses Snapshot
Public API: explicitly declared with @visibility public.

The action INSERT DEFAULT VALUES of a MERGE WHEN clause: a row of column defaults is inserted.

Mirrors a MergeWhenClause with CMD_INSERT and no values. Source: https://www.postgresql.org/docs/17/sql-merge.html.

Reading an insert of the defaultsdoctest
$merge = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('MERGE INTO t USING u ON t.a = u.a WHEN NOT MATCHED THEN INSERT DEFAULT VALUES');
    $merge->statement->clauses[0]->action instanceof \SqlSemantics\Platform\PostgreSql\Statement\Manipulation\Merge\MergeInsertDefaults // => true

Methods§

public function render(Output $out): void

Writes INSERT DEFAULT VALUES.

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
Type declarations 2