enumMembershipSetting
enum MembershipSetting: string
Public API: explicitly declared with
@visibility public.The value of a role membership option: OPTION, TRUE or FALSE.
OPTION is the older spelling of TRUE, as in WITH ADMIN OPTION; each spelling is kept as written. Source: https://www.postgresql.org/docs/17/sql-grant.html.
\SqlSemantics\Platform\PostgreSql\Statement\Catalog\Access\Privilege\MembershipSetting::Option->enabled() // => trueCases§
case Option = 'OPTION'case True = 'TRUE'case False = 'FALSE'Methods§
public function enabled(): boolTells whether the value turns the option on.
Returns
boolCalls 1
- class-const MembershipSetting::False() line 29
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§
Constant reads 3
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Access\MembershipRule packages/sql-semantics-postgres/src/Lowering/Access/MembershipRule.php:35
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Access\MembershipRule packages/sql-semantics-postgres/src/Lowering/Access/MembershipRule.php:36
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Access\MembershipRule packages/sql-semantics-postgres/src/Lowering/Access/MembershipRule.php:37