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

When a trigger fires relative to the event.

Mirrors TRIGGER_TYPE_BEFORE, TRIGGER_TYPE_AFTER and TRIGGER_TYPE_INSTEAD. Source: https://www.postgresql.org/docs/17/sql-createtrigger.html.

Reading the timing of a triggerdoctest
(new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('CREATE TRIGGER g INSTEAD OF INSERT ON v FOR EACH ROW EXECUTE FUNCTION f()')->statement->timing // => \SqlSemantics\Platform\PostgreSql\Statement\Table\Trigger\TriggerTiming::InsteadOf

Cases§

case Before = 'BEFORE'
case After = 'AFTER'
case InsteadOf = 'INSTEAD OF'

Methods§

public function keywords(): list<string>

Answers the keywords.

Returns

list<string>
Calls 1

Test cases 2§

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 1

Relations§

Constant reads 8
Type declarations 3