IS_MEMBER
Returns whether the current user is a member of the specified role.
Syntax
IS_MEMBER(expression varchar) → boolean
expression: String expression identifying a role in Spice.
Examples
SELECT IS_MEMBER ('public')
-- True
SELECT IS_MEMBER ('non-role')
-- False
Last updated
Was this helpful?