enumTriggerEvent
enum TriggerEvent: string
Public API: explicitly declared with
@visibility public.The kind of row change that activates a trigger: INSERT, UPDATE or DELETE.
Each case holds its keyword. Source: https://dev.mysql.com/doc/refman/8.4/en/create-trigger.html.
\SqlSemantics\Platform\MySql\Statement\Routine\Trigger\TriggerEvent::Update->value // => 'UPDATE'Cases§
case Insert = 'INSERT'case Update = 'UPDATE'case Delete = 'DELETE'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 7
- class-const SqlSemantics\Platform\MySql\Lowering\Routine\TriggerRule packages/sql-semantics-mysql/src/Lowering/Routine/TriggerRule.php:52
- class-const SqlSemantics\Platform\MySql\Lowering\Routine\TriggerRule packages/sql-semantics-mysql/src/Lowering/Routine/TriggerRule.php:52
- class-const SqlSemantics\Platform\MySql\Lowering\Routine\TriggerRule packages/sql-semantics-mysql/src/Lowering/Routine/TriggerRule.php:53
- class-const SqlSemantics\Platform\MySql\Rules\Routine\RowAliases::visible() packages/sql-semantics-mysql/src/Rules/Routine/RowAliases.php:40
- class-const SqlSemantics\Platform\MySql\Rules\Routine\RowAliases::visible() packages/sql-semantics-mysql/src/Rules/Routine/RowAliases.php:41
- class-const SqlSemantics\Platform\MySql\Rules\Routine\RowAliases::visible() packages/sql-semantics-mysql/src/Rules/Routine/RowAliases.php:42
- class-const SqlSemantics\Platform\MySql\Rules\Routine\TriggerAssignments::check() packages/sql-semantics-mysql/src/Rules/Routine/TriggerAssignments.php:53
Type declarations 5
- type SqlSemantics\Platform\MySql\Rules\Routine\ProgramFacts packages/sql-semantics-mysql/src/Rules/Routine/ProgramFacts.php:91
- type SqlSemantics\Platform\MySql\Rules\Routine\ProgramScope packages/sql-semantics-mysql/src/Rules/Routine/ProgramScope.php:54
- type SqlSemantics\Platform\MySql\Rules\Routine\RowAliases packages/sql-semantics-mysql/src/Rules/Routine/RowAliases.php:37
- type SqlSemantics\Platform\MySql\Rules\Routine\TriggerAssignments packages/sql-semantics-mysql/src/Rules/Routine/TriggerAssignments.php:43
- type SqlSemantics\Platform\MySql\Statement\Routine\CreateTrigger packages/sql-semantics-mysql/src/Statement/Routine/CreateTrigger.php:60