classEngineOption
final class EngineOption
implements TableOption
uses Snapshot
Public API: explicitly declared with
@visibility public.The ENGINE option: the storage engine of the table.
The equals sign between the option and its value is optional and is not kept. Source: https://dev.mysql.com/doc/refman/8.4/en/create-table.html#create-table-options.
$create = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('CREATE TABLE t (a INT) ENGINE = InnoDB');
$create->statement->options[0] instanceof \SqlSemantics\Platform\MySql\Statement\Table\Option\EngineOption // => trueProperties§
public Name $engineMethods§
public function render(Output $out): voidWrites the option.
Parameters
$out | Output |
Calls 2
- method-call Output::keyword() line 40
- class-const NameUse::Label() line 40
Test cases 5§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.