Hari Prasath
Hari Prasath

Reputation: 276

Unable to find aggregate in Hasura

On Hasura's GraphQl explore the unbale to find the aggregate option. Manually typing query also resulting in error.

Upvotes: 2

Views: 1053

Answers (1)

Hari Prasath
Hari Prasath

Reputation: 276

The problem is other then admin account for others we have to enable the Aggregation queries permissions

For every table Table -> Permissions -> Click select option on that role -> Aggregation queries permissions -> Enable -> Save

Hasura aggregate permission

Now once you refresh your explorer you will get the aggregate listed in your query console for that table.

Upvotes: 3

Related Questions