final class CurrentDatabaseLevel
    implements PrivilegeLevel
    uses Snapshot
Public API: explicitly declared with @visibility public.

ON *: the database level of the session's current database.

Without a current database the server rejects the statement (ER_NO_DB_ERROR). Source: https://dev.mysql.com/doc/refman/8.4/en/grant.html#grant-database-privileges.

Describing the leveldoctest
(new \SqlSemantics\Platform\MySql\Statement\Account\Privilege\Level\CurrentDatabaseLevel())->describe() // => 'the current database'

Methods§

public function describe(): string

Describes the level.

Returns

string
Test cases 1
public function render(Output $out): void

Writes *.

Parameters

$outOutput
Calls 1

Test cases 2§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 1

Relations§

Instantiated in 1