Would be great to have distinct as GraphQL operator
Currently GraphQL operator does not have distinct
https://www.mongodb.com/docs/atlas/app-services/graphql/types-and-resolvers/#input-types
Would be good to have this for improved performance. Currently we return all documents, and UI will perform the distinct operation which can be a problem if there are many documents in the collection.
2
votes
Mei Hwi
shared this idea