enum SavepointAction
Public API: explicitly declared with @visibility public.

What a command does with a savepoint.

Mirrors TRANS_STMT_SAVEPOINT, TRANS_STMT_RELEASE and TRANS_STMT_ROLLBACK_TO of PostgreSQL's TransactionStmtKind. Source: https://www.postgresql.org/docs/17/sql-savepoint.html, https://www.postgresql.org/docs/17/sql-release-savepoint.html, https://www.postgresql.org/docs/17/sql-rollback-to.html.

Reading the action of a ROLLBACK TOdoctest
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('ROLLBACK TO s');
    $operation->statement->action // => \SqlSemantics\Platform\PostgreSql\Statement\Utility\Transaction\SavepointAction::RollbackTo

Cases§

case Define
case Release
case RollbackTo

Test cases 2§

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

Dedicated tests 1
Other tests reaching this symbol 1

Relations§

Constant reads 7
Type declarations 1