final class DefinitionRoutes
Restricted visibility: declared "@visibility SqlSemantics\Platform\MySql". Code outside that scope must not name this declaration.

Names the family that lowers each alternative of the rules create, alter and drop.

Rule: MYSQL-DEFINITION-ROUTES-001. Scope: create (every release), alter and drop (5.6, 5.7). These rules gather statements of several families. An alternative is routed by the whole symbols it starts with; the family it is routed to claims the production and reads its symbols. The first matching row decides. CREATE view_or_trigger_or_sp_or_event belongs to the dispatch family itself, which splits it by the kind of object. The rows cover every alternative of every shipped release; the unit test of this class checks that against the production lists. Terminates: one pass over the rows. Status: Implemented.

Constants§

public const ROUTES = [['create', 'CREATE opt_table_options TABLE_SYM', \SqlSemantics\Platform\MySql\…

The routing rows: the rule, the symbols an alternative starts with, and the family.

Methods§

public function family(string $signature): ?Family

Answers the family of a create, alter or drop production, or null when no row matches.

Parameters

$signaturestring

Returns

Test cases 2
Called from 1
Calls 2

Test cases 2§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 2

Relations§

Instantiated in 1
Method calls 1