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

The change of a referenced row a referential action answers.

Source: https://www.postgresql.org/docs/17/sql-createtable.html#SQL-CREATETABLE-PARMS-REFERENCES.

Reading the event of a referential actiondoctest
$create = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('CREATE TABLE t (a int REFERENCES u ON DELETE CASCADE)');
    $create->statement->definition->elements[0]->qualifiers[0]->actions[0]->event // => \SqlSemantics\Platform\PostgreSql\Statement\Constraint\Reference\ReferenceEvent::Delete

Cases§

case Update = 'UPDATE'
case Delete = 'DELETE'

Test cases 4§

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 3

Relations§

Constant reads 7
Type declarations 2