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

What happens to the child rows when their parent key is deleted or changed.

Source: https://sqlite.org/foreignkeys.html#fk_actions.

Reading the reaction of a foreign key actiondoctest
$create = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('CREATE TABLE c (p REFERENCES parent ON UPDATE SET NULL)');
    $create->statement->columns[0]->constraints[0]->arguments[0]->reaction // => \SqlSemantics\Platform\Sqlite\Statement\Schema\Reference\ReferenceReaction::SetNull

Cases§

case SetNull = 'SET NULL'
case SetDefault = 'SET DEFAULT'
case Cascade = 'CASCADE'
case Restrict = 'RESTRICT'
case NoAction = 'NO ACTION'

Test cases 7§

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 6

Relations§

Constant reads 6
Type declarations 2