classEngineOption
final class EngineOption
implements StorageOption
uses Snapshot
Public API: explicitly declared with
@visibility public.[STORAGE] ENGINE [=] name: the storage engine of a tablespace, undo tablespace or log file group.
STORAGE and the equals sign are optional and not written. The server resolves the name against the engines it has. Source: https://dev.mysql.com/doc/refman/8.4/en/create-tablespace.html.
(new \SqlSemantics\Platform\MySql\Statement\Server\Storage\Option\EngineOption(new \SqlSemantics\Platform\MySql\Model\Statement\Identifier\Name('InnoDB')))->engine->value // => 'InnoDB'Properties§
public Name $engineMethods§
public function keyword(): stringAnswers the keyword of the option.
Returns
stringTest cases 1
public function render(Output $out): voidWrites the option.
Parameters
$out | Output |
Calls 2
- method-call Output::keyword() line 46
- class-const NameUse::Identifier() line 46
Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.