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.

Holding the optiondoctest
(new \SqlSemantics\Platform\MySql\Statement\Server\Storage\Option\EngineOption(new \SqlSemantics\Platform\MySql\Model\Statement\Identifier\Name('InnoDB')))->engine->value // => 'InnoDB'

Properties§

public Name $engine

Methods§

public function __construct(public Name $engine)

Parameters

$engineNameThe engine name
public function keyword(): string

Answers the keyword of the option.

Returns

string
Test cases 1
public function render(Output $out): void

Writes the option.

Parameters

$outOutput
Calls 2

Test cases 1§

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

Dedicated tests 1

Relations§

Instantiated in 1
Type declarations 1