hasura / ra-data-hasura

react-admin data provider for Hasura GraphQL Engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

better pagination support

mohammad-bolt opened this issue · comments

right now for pagination it makes an expensive count query

tota: table(
    order_by: $order_by
    where: $where
  ) {
    aggregate {
      count
      __typename
    }

which is expensive for RDS.

can we customize it so we can turn it off? this way we can use partial pagination

this PR addresses the issue.