classRoleInherit
final class RoleInherit
implements RoleOption
uses Snapshot
Public API: explicitly declared with
@visibility public.The role option INHERIT: the role inherits the privileges of the roles it is a member of.
INHERIT is a keyword, so the grammar gives it a production of its own instead of reading it as one of the plain attribute words; NOINHERIT is such a word (RoleAttribute). Source: https://www.postgresql.org/docs/17/sql-createrole.html.
(new \SqlSemantics\Platform\PostgreSql\Statement\Catalog\Access\Role\RoleInherit())->option() // => 'inherit'Methods§
public function option(): stringpublic function render(Output $out): voidTest cases 3§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.