distinct
Selects a distinct set of objects of a specific class. When multiple distinct fields are given, all unique combinations of values in the fields will be returned. In case of multiple matches, it is undefined which object is returned. Unless the result is sorted, then the first object will be returned.
Parameters
property
first field name to use when finding distinct objects.
extraProperties
remaining property names when determining all unique combinations of field values.
Throws
if property does not exist, is an unsupported type, or points to a linked field.