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.

Granting every privilege of a databasedoctest
(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): void

Writes ALL.

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 3
Type checks 5