classMergeNothing
final class MergeNothing
implements Node
uses Snapshot
Public API: explicitly declared with
@visibility public.The action DO NOTHING of a MERGE WHEN clause: the row is skipped.
Mirrors a MergeWhenClause with CMD_NOTHING. Source: https://www.postgresql.org/docs/17/sql-merge.html.
$merge = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('MERGE INTO t USING u ON t.a = u.a WHEN MATCHED THEN DO NOTHING');
$merge->statement->clauses[0]->action instanceof \SqlSemantics\Platform\PostgreSql\Statement\Manipulation\Merge\MergeNothing // => trueMethods§
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
MergeNothingTestcalls