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

The change that fires a trigger.

Source: https://sqlite.org/lang_createtrigger.html.

Reading the event of a triggerdoctest
$trigger = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('CREATE TRIGGER r AFTER UPDATE OF a ON t BEGIN SELECT 1; END');
    $trigger->statement->event // => \SqlSemantics\Platform\Sqlite\Statement\Trigger\TriggerEvent::Update

Cases§

case Delete = 'DELETE'
case Insert = 'INSERT'
case Update = 'UPDATE'

Test cases 14§

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

Dedicated tests 2
Other tests reaching this symbol 12

Relations§

Static calls 1
Constant reads 5
Type declarations 1