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']
Use the existing StatementType aliasdoctest
\SqlFaker\MySql\StatementType::Select === \SqlFaker\MySql\Generation\StatementRule::Select // => true

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 4§

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 2

Relations§

Constant reads 1