enumRollbackSpelling
enum RollbackSpelling: string
Public API: explicitly declared with
@visibility public.The two spellings of the command that aborts the current transaction.
ABORT is kept for historical reasons and is equivalent to ROLLBACK. The value is the keyword. Source: https://www.postgresql.org/docs/17/sql-rollback.html, https://www.postgresql.org/docs/17/sql-abort.html.
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('ABORT');
$operation->statement->spelling // => \SqlSemantics\Platform\PostgreSql\Statement\Utility\Transaction\RollbackSpelling::AbortCases§
case Rollback = 'ROLLBACK'case Abort = 'ABORT'Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
RollbackSpellingTestcalls
Other tests reaching this symbol 1
Relations§
Constant reads 3
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\TransactionRule::statement() packages/sql-semantics-postgres/src/Lowering/Utility/TransactionRule.php:81
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\TransactionRule::statement() packages/sql-semantics-postgres/src/Lowering/Utility/TransactionRule.php:82
- class-const SqlSemantics\Platform\PostgreSql\Statement\Utility\Transaction\Rollback::__construct() packages/sql-semantics-postgres/src/Statement/Utility/Transaction/Rollback.php:34