Skip to main content
Filtering

This article will teach you how to put filters on your queries

A
Written by Adam Fung
Updated over a week ago

Within GraphiQL there will be an Explorer button - in there you will see all of the data sets, fields and filters, from here you can mix and match fields and filters as you see fit

Filtering allows you to retrieve specific subsets of data by applying criteria to the query. Instead of fetching all the data, filtering narrows down the results to only the relevant ones, making the query efficient and the data returned precise.

Example - Parent Level Filtering (the below query gives the user all properties that have 3 bathroom and 6 bedroom)

Filters can also be applied on the child level as well -

This example shows the parent and child relationship, but with filters applied to the child object. With this filter, you can expect all of the records from tax_assessor to come back, but the related recorder data will only include entries that satisfy the 'document_type_code' filter criteria.

If you have any further questions please reach out to us at Sup port

Did this answer your question?