final class Force
    implements AlterCommand
    uses Snapshot
Public API: explicitly declared with @visibility public.

FORCE: a request to rebuild the table even when nothing else changes.

Mirrors PT_alter_table_force. Source: https://dev.mysql.com/doc/refman/8.4/en/alter-table.html#alter-table-performance.

Rebuilding a tabledoctest
(new \SqlSemantics\Platform\MySql\Semantics())->analyze('alter table t force')->toString() // => 'ALTER TABLE t FORCE'

Methods§

public function deriveCommand(Derivation $derivation, Environment $scope): void

Derives nothing: the action holds no expression.

Parameters

$derivationDerivation
$scopeEnvironment
public function render(Output $out): void

Writes the action.

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 1