classGrantOptionRight
final class GrantOptionRight
implements WithOption
uses Snapshot
Public API: explicitly declared with
@visibility public.WITH GRANT OPTION of GRANT: the grantees may grant the privileges they receive at that level to others.
Source: https://dev.mysql.com/doc/refman/8.4/en/grant.html#grant-privileges.
$grant = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('GRANT SELECT ON *.* TO u WITH GRANT OPTION')->statement;
$grant->options[0] instanceof \SqlSemantics\Platform\MySql\Statement\Account\Privilege\GrantOptionRight // => trueMethods§
public function render(Output $out): voidTest cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
GrantOptionRightTestcalls