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

The RESTRICT or CASCADE keyword of a DROP statement or of ALTER TABLE ... DROP COLUMN.

MySQL accepts both keywords and they do nothing; the keyword is kept as written because it is part of the request. Source: https://dev.mysql.com/doc/refman/8.4/en/drop-table.html.

Reading the keyword of a casedoctest
\SqlSemantics\Platform\MySql\Statement\Alter\DropBehavior::Cascade->value // => 'CASCADE'

Cases§

case Restrict = 'RESTRICT'
case Cascade = 'CASCADE'

Test cases 3§

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 2

Relations§

Constant reads 2
Type declarations 4