final class Manipulations
Restricted visibility: declared "@visibility SqlSemantics". Code outside that scope must not name this declaration.

The entry point of the manipulation family: INSERT, UPDATE, DELETE, MERGE, COPY, prepared statements and cursors.

Rule: PG-MANIPULATION-001. Scope: PreparableStmt and the statements of the family, each lowered by the rule of its nonterminal (PG-INSERT-LOWER-001, PG-CHANGE-LOWER-001, PG-MERGE-LOWER-001, PG-COPY-LOWER-001, PG-PREPARED-LOWER-001, PG-CURSOR-LOWER-001). Source: https://www.postgresql.org/docs/17/sql-commands.html. Status: Implemented.

Methods§

public function __construct(private Lowering $lowering)

Parameters

$loweringLoweringThe hub
public function statement(Node $statement): Statement
public function preparable(Node $statement): Statement

Lowers PreparableStmt: the statement a PREPARE, a COPY or a common table expression runs; a data-modifying statement is also a query, whose rows are its RETURNING list.

Parameters

$statementNode

Returns

Throws

ImplementationGap When the production has no rule
Calls 2

Private surface 1§

Implementation details, listed for orientation only.

private Lowering $lowering

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
Method calls 1
Type declarations 1