classWaitOption
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.
(new \SqlSemantics\Platform\MySql\Statement\Server\Storage\Option\WaitOption(false))->keyword() // => 'WAIT'Properties§
public bool $waitMethods§
public function __construct(public bool $wait)Parameters
$wait | bool | Whether WAIT (true) or NO_WAIT (false) is written |
public function keyword(): stringAnswers the keyword of the option.
Returns
stringTest cases 1
public function render(Output $out): voidTest 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
- new SqlSemantics\Platform\MySql\Lowering\Server\Storage\StorageOptionRule::option() packages/sql-semantics-mysql/src/Lowering/Server/Storage/StorageOptionRule.php:219
- new SqlSemantics\Platform\MySql\Lowering\Server\Storage\StorageOptionRule::option() packages/sql-semantics-mysql/src/Lowering/Server/Storage/StorageOptionRule.php:220