The Database Hub is home for developers who want to clone, connect, and share databases and build apps together. By connecting to a database, you can easily consume its data using an API (GraphQL or REST) or via SDK.
This GraphQL query fetches All Roles
xxxxxxxxxx
query allRoles {
roles (skip: 0, limit: 3) {
results {
ACL
createdAt
id
name
roles (skip: 0, limit: 3) {
results {
id
}
}
updatedAt
users (skip: 0, limit: 3) {
results {
id
}
}
}
}
}
xxxxxxxxxx
{
"data": {
"roles": {
"results": []
}
}
}
We use cookies to provide our services and for analytics and marketing. To find out more about our use of cookies, please see our Terms of Service and Privacy Policy . By continuing to browse our website, you agree to our use of cookies.