You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.
Lets say I have a list of records I can return based on some value. And there are so many records I want to paginate over them. But the front end wants to make a nice navigation of page 1, 2, etc...
If I design a schema like this
type Orders{
id: ID
user_id: Int
date: String
...
}
Lets say I have a list of records I can return based on some value. And there are so many records I want to paginate over them. But the front end wants to make a nice navigation of page 1, 2, etc...
If I design a schema like this
and I have a query like
I would like to return a result like
is there a way to do this, or would I need to modify my type to include a "total" field?
The text was updated successfully, but these errors were encountered: