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

UNINSTALL COMPONENT 'urn', …: a request to unload server components (MySQL 8.0 and later).

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

Removing a componentdoctest
(new \SqlSemantics\Platform\MySql\Semantics())->analyze("uninstall component 'file://a'")->toString() // => "UNINSTALL COMPONENT 'file://a'"

Properties§

public list<Text> $components

Methods§

public function __construct(list<Text> $components)

Parameters

$componentslist<Text>The component URNs in written order; at least one

Throws

InvalidConstruction When no component is named
Calls 2
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 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