classDropResourceGroup
final class DropResourceGroup
implements Statement
uses Snapshot
Public API: explicitly declared with
@visibility public.DROP RESOURCE GROUP name [FORCE] (8.0+).
Mirrors PT_drop_resource_group. Rule: MYSQL-RESOURCE-GROUP-001. Source: https://dev.mysql.com/doc/refman/8.4/en/drop-resource-group.html. Status: Implemented.
(new \SqlSemantics\Platform\MySql\Semantics())->analyze('drop resource group batch force')->statement->force // => trueProperties§
public Name $namepublic bool $force = falseMethods§
public function __construct(public Name $name, public bool $force = false)Parameters
$name | Name | The group name |
$force | bool | Whether FORCE is written |
public function deriveStatement(Derivation $derivation): voidDerives nothing: the statement names no relation and no expression.
Parameters
$derivation | Derivation |
public function render(Output $out): voidWrites the request.
Parameters
$out | Output |
Calls 2
- method-call Output::keyword() line 48
- class-const NameUse::Label() line 48
Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
DropResourceGroupTestcalls