I am working with a React component implemented with TypeScript where I am querying some data using gql from apollo-boost library. First time user so have little knowledge.
const GET_COUNTRIES = gql`
query GET_COUNTRIES {
users {
(country)
}
}
`;
How to get the distinct countries from this query? Tried with distinct / distinct_on. None of them worked.