enumTransactionScope
enum TransactionScope: string
Public API: explicitly declared with
@visibility public.Which transactions SET TRANSACTION characteristics apply to.
SET TRANSACTION sets the current transaction; SET SESSION CHARACTERISTICS AS TRANSACTION sets the default of the later transactions of the session. The value is the keyword spelling. Source: https://www.postgresql.org/docs/17/sql-set-transaction.html.
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('SET SESSION CHARACTERISTICS AS TRANSACTION READ ONLY');
$operation->statement->scope // => \SqlSemantics\Platform\PostgreSql\Statement\Utility\Transaction\TransactionScope::SessionCharacteristicsCases§
case Transaction = 'TRANSACTION'case SessionCharacteristics = 'SESSION CHARACTERISTICS AS 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
TransactionScopeTestcalls
Relations§
Constant reads 2
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule::set() packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:142
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule::set() packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:143