final class EngineAttributeOption
    implements StorageOption
    uses Snapshot
Public API: explicitly declared with @visibility public.

ENGINE_ATTRIBUTE [=] 'json': attributes for a secondary engine (MySQL 8.0.21 and later).

The equals sign is optional and not written. The text is a JSON document the engine reads. Source: https://dev.mysql.com/doc/refman/8.4/en/create-tablespace.html.

Holding the optiondoctest
(new \SqlSemantics\Platform\MySql\Statement\Server\Storage\Option\EngineAttributeOption(new \SqlSemantics\Platform\MySql\Statement\Literal\Text('{}')))->attribute->value // => '{}'

Properties§

public Text $attribute

Methods§

public function __construct(public Text $attribute)

Parameters

$attributeTextThe JSON text
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 1

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