Roles
Copied!
Roles( [database] )
Description
Examples
-
The following query lists any user-defined roles (up to the pagination limit) in the current database:
{ data: [ Role("employees") ] }
-
The following query lists the References for any user-defined roles (up to the pagination limit) in a child database named "child_db":
{ data: [] }
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!