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.

Reading the spelling of an ABORTdoctest
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('ABORT');
    $operation->statement->spelling // => \SqlSemantics\Platform\PostgreSql\Statement\Utility\Transaction\RollbackSpelling::Abort

Cases§

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
Other tests reaching this symbol 1

Relations§

Constant reads 3
Type declarations 1