enumChaining
enum Chaining: string
Public API: explicitly declared with
@visibility public.Whether a new transaction with the same characteristics starts when one ends.
AND CHAIN starts one immediately; AND NO CHAIN states the default, that none is started. The value is the keyword spelling. Source: https://www.postgresql.org/docs/17/sql-commit.html, https://www.postgresql.org/docs/17/sql-rollback.html.
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('COMMIT AND NO CHAIN');
$operation->statement->chaining // => \SqlSemantics\Platform\PostgreSql\Statement\Utility\Transaction\Chaining::NoChainCases§
case Chain = 'AND CHAIN'case NoChain = 'AND NO CHAIN'Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
ChainingTestcalls
Other tests reaching this symbol 1
Relations§
Constant reads 2
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\TransactionRule::chaining() packages/sql-semantics-postgres/src/Lowering/Utility/TransactionRule.php:134
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\TransactionRule::chaining() packages/sql-semantics-postgres/src/Lowering/Utility/TransactionRule.php:135
Type declarations 3
- type SqlSemantics\Platform\PostgreSql\Lowering\Utility\TransactionRule packages/sql-semantics-postgres/src/Lowering/Utility/TransactionRule.php:128
- type SqlSemantics\Platform\PostgreSql\Statement\Utility\Transaction\Commit packages/sql-semantics-postgres/src/Statement/Utility/Transaction/Commit.php:34
- type SqlSemantics\Platform\PostgreSql\Statement\Utility\Transaction\Rollback packages/sql-semantics-postgres/src/Statement/Utility/Transaction/Rollback.php:34