Get unique values for a predicate?

If I have the following schema:

type Person {
  id: ID!
  name: String!
}

How would I get a unique list of Person names in the database?

as per usual, the answer is some post @amaster507#1406 made 2yrs ago lol

1 Like

And if you really need to flatten that list across multiple depths:

1 Like