Dgraph GraphQL Tour
Pagination (first and offset)
It’s not uncommon to have thousands of results for a query.
But you might want to paginate the results for display, or limit a large result set.
offset arguments that can be used in combination
to achieve such limits and paginate results:
first: NReturn only the first
offset: NSkip the first
By default, query answers are ordered by
uid. You can change this behavior by
explicitly specifying an order.
offset arguments are available on
query<Type> queries and on
any edge to a list of nodes.