enumBeginSpelling
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.
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('START TRANSACTION');
$operation->statement->spelling // => \SqlSemantics\Platform\PostgreSql\Statement\Utility\Transaction\BeginSpelling::StartTransactionCases§
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
BeginSpellingTestcalls
Relations§
Constant reads 3
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\TransactionRule::statement() packages/sql-semantics-postgres/src/Lowering/Utility/TransactionRule.php:77
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\TransactionRule::statement() packages/sql-semantics-postgres/src/Lowering/Utility/TransactionRule.php:78
- class-const SqlSemantics\Platform\PostgreSql\Statement\Utility\Transaction\Begin::__construct() packages/sql-semantics-postgres/src/Statement/Utility/Transaction/Begin.php:41