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

WAIT or NO_WAIT: whether the statement waits for the change to complete.

NDB only; the default is to wait. Source: https://dev.mysql.com/doc/refman/8.4/en/create-tablespace.html.

Holding the optiondoctest
(new \SqlSemantics\Platform\MySql\Statement\Server\Storage\Option\WaitOption(false))->keyword() // => 'WAIT'

Properties§

public bool $wait

Methods§

public function __construct(public bool $wait)

Parameters

$waitboolWhether WAIT (true) or NO_WAIT (false) is written
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 2§

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

Dedicated tests 1
Other tests reaching this symbol 1

Relations§

Instantiated in 2
Type checks 1