DISTINCT
Description
Removes duplicate entries. So if applying on ascending ordered data, you would get a descending ordered data set.
DISTINCT(Scalar<any>)
Returns the same scalar (because a scalar cannot have any duplicates).
Parameters
Parameter | Description |
---|---|
scalar | A scalar of type any |
DISTINCT(Vector<any>)
Returns the same elements, but without any duplicates.
Parameters
Parameter | Description |
---|---|
vector | A vector of type any |
DISTINCT(GroupedScalar<any, any>)
Returns the same GroupedScalar (because a scalar cannot have any duplicates).
Parameters
Parameter | Description |
---|---|
group | A GroupedScalar of type <any, any> |
DISTINCT(GroupedVector<any, any>)
Returns the same GroupedVector, but removes all duplicates in the values of each group.
Parameters
Parameter | Description |
---|---|
group | A GroupedVector of type <any, any> |
Examples
Removes duplicated entries in the building's device types Vector.
Last updated