enum CommitSpelling: string
Public API: explicitly declared with @visibility public.

The two spellings of the command that commits the current transaction.

END is a PostgreSQL extension equivalent to COMMIT. The value is the keyword. Source: https://www.postgresql.org/docs/17/sql-commit.html, https://www.postgresql.org/docs/17/sql-end.html.

Reading the spelling of an ENDdoctest
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('END');
    $operation->statement->spelling // => \SqlSemantics\Platform\PostgreSql\Statement\Utility\Transaction\CommitSpelling::End

Cases§

case Commit = 'COMMIT'
case End = 'END'

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§

Constant reads 3
Type declarations 1