interface Grantable
    extends Node
Public API: explicitly declared with @visibility public.

One item of the privilege or role list of GRANT and REVOKE.

The server parses GRANT a, b … items as PT_role_or_privilege nodes and reads them as roles when no ON clause follows and as privileges when one does; the model holds each item as what the statement reads it as. Source: https://dev.mysql.com/doc/refman/8.4/en/grant.html.

Telling a static privilege apartdoctest
new \SqlSemantics\Platform\MySql\Statement\Account\Privilege\Item\StaticPrivilege(\SqlSemantics\Platform\MySql\Statement\Account\Privilege\Item\PrivilegeKind::Select) instanceof \SqlSemantics\Platform\MySql\Statement\Account\Privilege\Item\Grantable // => true

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§

Implemented by 4
Constant reads 4
Type declarations 3