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.
1
vote
![](https://secure.gravatar.com/avatar/cd6a150cb2dd8004cb758581c505cb1d?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)