enum TransactionBehavior: string
Public API: explicitly declared with @visibility public.

When a transaction acquires its locks: the word written after BEGIN.

Source: https://sqlite.org/lang_transaction.html#deferred_immediate_and_exclusive_transactions.

Reading the behavior a transaction start requestsdoctest
$begin = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('BEGIN IMMEDIATE');
    $begin->statement->behavior // => \SqlSemantics\Platform\Sqlite\Statement\Transaction\TransactionBehavior::Immediate

Cases§

case Deferred = 'DEFERRED'
case Immediate = 'IMMEDIATE'
case Exclusive = 'EXCLUSIVE'

Test cases 5§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 4

Relations§

Constant reads 4
Type declarations 3