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

A referential action: RESTRICT, CASCADE, SET NULL, NO ACTION or SET DEFAULT.

Each case holds the keywords it is written with. Source: https://dev.mysql.com/doc/refman/8.4/en/create-table-foreign-keys.html#foreign-key-referential-actions.

Reading the keywords of a casedoctest
\SqlSemantics\Platform\MySql\Statement\Table\Key\ReferenceOption::SetNull->value // => 'SET NULL'

Cases§

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

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 6
Type declarations 1