Queries and aggregations

Each node defined in type definitions has two query fields generated for it: one for querying data and another one for aggregating it. Each of these fields, by their part, accepts two arguments used for filtering, sorting, and pagination.

This section addresses the following topics:

  • Queries - Read or fetch values.

  • Aggregations - Combine lists of types from different sources into a single list.

  • Filtering - Filter query results to find objects.

  • Sorting - Sort query results by individual fields.

  • Pagination - Navigate result pages.