final class Roots
Restricted visibility: declared "@visibility SqlSemantics\Platform\PostgreSql". Code outside that scope must not name this declaration.

Derives a data-modifying statement that is a whole statement.

Rule: PG-MODIFICATION-ROOT-001. The statement is derived in the empty environment; the rows of its RETURNING list are its output, and without RETURNING it returns no rows. A selection with INTO anywhere inside is reported (PG-PLACEMENT-001), and so is a WITH clause holding a data-modifying statement anywhere but before the statement itself (PG-MODIFYING-CTE-001). Source: https://www.postgresql.org/docs/17/dml-returning.html. Status: Implemented.

Methods§

public function derive(Modification $root, Derivation $derivation): void

Derives the statement and records its rows.

Parameters

$rootModification
$derivationDerivation
Called from 6
Calls 9

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 6
Method calls 6