Filtering

The built-in Prisma bindings allow you to perform complex filtering on your data. Using the where argument along with your queries, you can get just the results you require.

Get all Orders where total greater than 5000

query {
orders(where: {
total_gt: 5000
}) {
id
total
items {
id
description
quantity
amount
metadata
}
}
}