classAllPrivileges
final class AllPrivileges
implements Grantable
uses Snapshot
Public API: explicitly declared with
@visibility public.ALL [PRIVILEGES]: every privilege of the level the grant names, except GRANT OPTION and, globally, PROXY.
It is written alone in the privilege list. PRIVILEGES is an optional word. Source: https://dev.mysql.com/doc/refman/8.4/en/privileges-provided.html#priv_all.
(new \SqlSemantics\Platform\MySql\Semantics())->analyze('GRANT ALL PRIVILEGES ON db.* TO u')->toString() // => 'GRANT ALL ON db.* TO u'Methods§
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
AllPrivilegesTestcalls
Relations§
Instantiated in 3
- new SqlSemantics\Platform\MySql\Lowering\Account\GrantRule::all() packages/sql-semantics-mysql/src/Lowering/Account/GrantRule.php:95
- new SqlSemantics\Platform\MySql\Lowering\Account\GrantRule::revokeAll() packages/sql-semantics-mysql/src/Lowering/Account/GrantRule.php:151
- new SqlSemantics\Platform\MySql\Lowering\Account\PrivilegeRule::privileges() packages/sql-semantics-mysql/src/Lowering/Account/PrivilegeRule.php:199
Type checks 5
- instanceof SqlSemantics\Platform\MySql\Rules\Account\PrivilegeChecks::grant() packages/sql-semantics-mysql/src/Rules/Account/PrivilegeChecks.php:77
- instanceof SqlSemantics\Platform\MySql\Statement\Account\Privilege\GrantPrivileges::__construct() packages/sql-semantics-mysql/src/Statement/Account/Privilege/GrantPrivileges.php:82
- instanceof SqlSemantics\Platform\MySql\Statement\Account\Privilege\GrantRoles::__construct() packages/sql-semantics-mysql/src/Statement/Account/Privilege/GrantRoles.php:56
- instanceof SqlSemantics\Platform\MySql\Statement\Account\Privilege\RevokePrivileges::__construct() packages/sql-semantics-mysql/src/Statement/Account/Privilege/RevokePrivileges.php:68
- instanceof SqlSemantics\Platform\MySql\Statement\Account\Privilege\RevokeRoles::__construct() packages/sql-semantics-mysql/src/Statement/Account/Privilege/RevokeRoles.php:54