enumCommitSpelling
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.
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('END');
$operation->statement->spelling // => \SqlSemantics\Platform\PostgreSql\Statement\Utility\Transaction\CommitSpelling::EndCases§
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
CommitSpellingTestcalls
Relations§
Constant reads 3
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\TransactionRule::statement() packages/sql-semantics-postgres/src/Lowering/Utility/TransactionRule.php:79
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\TransactionRule::statement() packages/sql-semantics-postgres/src/Lowering/Utility/TransactionRule.php:80
- class-const SqlSemantics\Platform\PostgreSql\Statement\Utility\Transaction\Commit::__construct() packages/sql-semantics-postgres/src/Statement/Utility/Transaction/Commit.php:34