$distinct Returns the distinct set of the input array. Options¶ values (required) Input array. Example¶ Template { "distinct": { "$distinct": ["badger", "badger", "halibut"] } } Output { "distinct": ["badger", "halibut"] }