classUninstallComponent
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.
(new \SqlSemantics\Platform\MySql\Semantics())->analyze("uninstall component 'file://a'")->toString() // => "UNINSTALL COMPONENT 'file://a'"Properties§
public list<Text> $componentsMethods§
public function __construct(list<Text> $components)Parameters
$components | list<Text> | The component URNs in written order; at least one |
Throws
InvalidConstruction When no component is namedCalls 2
- static-call Check::listOf() line 42
- class-const Text::class() line 42
public function deriveStatement(Derivation $derivation): voidHas nothing to derive: the request names no relation and no value.
Parameters
$derivation | Derivation |
public function render(Output $out): voidTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
UninstallComponentTestcalls