DISTINCT

Description

Removes duplicate entries. So if applying on ascending ordered data, you would get a descending ordered data set.

DISTINCT(Scalar<any>)

DISTINCT(scalar: Scalar<any>): Scalar<any>

Returns the same scalar (because a scalar cannot have any duplicates).

Parameters

DISTINCT(Vector<any>)

DISTINCT(vector: Vector<any>): Vector<any>

Returns the same elements, but without any duplicates.

Parameters


DISTINCT(GroupedScalar<any, any>)

DISTINCT(group: GroupedScalar<any,any>): GroupedScalar<any,any>

Returns the same GroupedScalar (because a scalar cannot have any duplicates).

Parameters


DISTINCT(GroupedVector<any, any>)

DISTINCT(group: GroupedVector<any,any>): GroupedVector<any,any>

Returns the same GroupedVector, but removes all duplicates in the values of each group.

Parameters

Examples

Removes duplicated entries in the building's device types Vector.

DISTINCT(Building::DeviceTypes)

Last updated

© 2023 MOOST AG