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

Statement start rules available to MySQL SQL generation.

Enumerate the supported statement choicesdoctest
array_column(\SqlFaker\MySql\Generation\StatementRule::cases(), 'name') // => ['Select', 'Insert', 'Update', 'Delete', 'CreateTable', 'AlterTable', 'DropTable', 'SimpleStatement']

Cases§

case Select = 'select_stmt'
Public API: explicitly declared with @visibility public.
case Insert = 'insert_stmt'
Public API: explicitly declared with @visibility public.
case Update = 'update_stmt'
Public API: explicitly declared with @visibility public.
case Delete = 'delete_stmt'
Public API: explicitly declared with @visibility public.
case CreateTable = 'create_table_stmt'
Public API: explicitly declared with @visibility public.
case AlterTable = 'alter_table_stmt'
Public API: explicitly declared with @visibility public.
case DropTable = 'drop_table_stmt'
Public API: explicitly declared with @visibility public.
case SimpleStatement = 'simple_statement'
Public API: explicitly declared with @visibility public.

Test cases 5§

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

Dedicated tests 2
Other tests reaching this symbol 3

Relations§

Constant reads 8
Type declarations 2