classRevokeProxy
final class RevokeProxy
implements Statement
uses Snapshot
Public API: explicitly declared with
@visibility public.REVOKE [IF EXISTS] PROXY ON account FROM account, … [IGNORE UNKNOWN USER]: a request to withdraw a proxy grant.
Rule: MYSQL-REVOKE-PROXY-001. No relation is named. Source: https://dev.mysql.com/doc/refman/8.4/en/revoke.html. Status: Implemented.
(new \SqlSemantics\Platform\MySql\Semantics())->analyze('REVOKE PROXY ON root FROM app')->toString() // => 'REVOKE PROXY ON root FROM app'Properties§
public list<UserSpecification> $userspublic bool $ifExistspublic Account $proxiedpublic bool $ignoreUnknownUser = falseMethods§
public function __construct(
public bool $ifExists,
public Account $proxied,
list<UserSpecification> $users,
public bool $ignoreUnknownUser = false,
)Parameters
$ifExists | bool | Whether IF EXISTS is written |
$proxied | Account | The proxied account |
$users | list<UserSpecification> | The proxy accounts; at least one |
$ignoreUnknownUser | bool | Whether IGNORE UNKNOWN USER is written |
Calls 3
- static-call Check::listOf() line 42
- class-const UserSpecification::class() line 42
- static-call Check::input() line 44
public function deriveStatement(Derivation $derivation): voidDerives nothing: the statement names no relation and no expression.
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
RevokeProxyTestcalls