final class UpsertSourceRule
    implements RewriteRule

parse.y:on_using resolves ON in favor of a JOIN until a SELECT clause separates the UPSERT.

Methods§

public function rewrite(TerminalSequence $sequence): TerminalSequence

Adds a WHERE expression only when an INSERT source ends with FROM immediately before ON CONFLICT.

Parameters

Test cases 89
Calls 4

Test cases 95§

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

Dedicated tests 89
Other tests reaching this symbol 6

Relations§

Instantiated in 1