Pagination

Using the built-in Prisma bindings you can easily paginate query results using first, after, before and last parameters.

Get the last 30 Orders and their payment statuses

query {
orders(last: 30) {
id
total
createdAt
payments {
status
}
}
}