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.

Reading the scope of session characteristicsdoctest
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('SET SESSION CHARACTERISTICS AS TRANSACTION READ ONLY');
    $operation->statement->scope // => \SqlSemantics\Platform\PostgreSql\Statement\Utility\Transaction\TransactionScope::SessionCharacteristics

Cases§

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

Relations§

Constant reads 2
Type declarations 1