Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better pagination support #117

Open
mohammad-bolt opened this issue Jul 12, 2022 · 1 comment
Open

better pagination support #117

mohammad-bolt opened this issue Jul 12, 2022 · 1 comment

Comments

@mohammad-bolt
Copy link
Contributor

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

@mohammad-bolt
Copy link
Contributor Author

this PR addresses the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant