final class UninstallPlugin
    implements Statement
    uses Snapshot
Public API: explicitly declared with @visibility public.

UNINSTALL PLUGIN name: a request to remove an installed server plugin.

Mirrors Sql_cmd_uninstall_plugin. Rule: MYSQL-UNINSTALL-PLUGIN-001. The statement names no relation and has no facts. Source: https://dev.mysql.com/doc/refman/8.4/en/uninstall-plugin.html. Status: Implemented.

Removing a plugindoctest
(new \SqlSemantics\Platform\MySql\Semantics())->analyze('uninstall plugin audit')->toString() // => 'UNINSTALL PLUGIN audit'

Properties§

public Name $plugin

Methods§

public function __construct(public Name $plugin)

Parameters

$pluginNameThe plugin name
public function deriveStatement(Derivation $derivation): void

Has nothing to derive: the request names no relation and no value.

Parameters

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

Writes the request.

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