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

The two spellings of the command that starts a transaction block.

BEGIN is the PostgreSQL spelling and START TRANSACTION the one of the SQL standard; both make the same request. The value is the keyword spelling. Source: https://www.postgresql.org/docs/17/sql-begin.html, https://www.postgresql.org/docs/17/sql-start-transaction.html.

Reading the spelling of a START TRANSACTIONdoctest
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('START TRANSACTION');
    $operation->statement->spelling // => \SqlSemantics\Platform\PostgreSql\Statement\Utility\Transaction\BeginSpelling::StartTransaction

Cases§

case Begin = 'BEGIN'
case StartTransaction = 'START TRANSACTION'

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