Skip to main content

Distinct Operator

This article will go over the distinct operator in GraphQL

A
Written by Adam Fung
Updated over 4 months ago

For example, if you wanted to see all of the distinct states in a table of counties in the US you could use this query (try this query with and without distinct_on).

query distinct {
usa_county_boundary(distinct_on: state) {
state
}
}

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

Did this answer your question?