DEV Community

Discussion on: GraphQL Pagination

jefferyhus profile image
El Housseine Jaafari Author

Your case is not easy in case of using a relational database. But there is the solution to create a view from your query and add an attribute that will be a combination of the rating & the ID and then use the view to fetch data from it and this way the pagination will work like a charm for you.