enumSavepointAction
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.
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('ROLLBACK TO s');
$operation->statement->action // => \SqlSemantics\Platform\PostgreSql\Statement\Utility\Transaction\SavepointAction::RollbackToCases§
case Definecase Releasecase RollbackToTest 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
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\TransactionRule::statement() packages/sql-semantics-postgres/src/Lowering/Utility/TransactionRule.php:83
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\TransactionRule::statement() packages/sql-semantics-postgres/src/Lowering/Utility/TransactionRule.php:84
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\TransactionRule::statement() packages/sql-semantics-postgres/src/Lowering/Utility/TransactionRule.php:85
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\TransactionRule::rollbackTo() packages/sql-semantics-postgres/src/Lowering/Utility/TransactionRule.php:104
- class-const SqlSemantics\Platform\PostgreSql\Statement\Utility\Transaction\SavepointCommand::render() packages/sql-semantics-postgres/src/Statement/Utility/Transaction/SavepointCommand.php:54
- class-const SqlSemantics\Platform\PostgreSql\Statement\Utility\Transaction\SavepointCommand::render() packages/sql-semantics-postgres/src/Statement/Utility/Transaction/SavepointCommand.php:55
- class-const SqlSemantics\Platform\PostgreSql\Statement\Utility\Transaction\SavepointCommand::render() packages/sql-semantics-postgres/src/Statement/Utility/Transaction/SavepointCommand.php:56