selectDistinct

open fun selectDistinct(vararg items: PropertyPath): DataQuery

Add properties (to {@link com.sap.cloud.mobile.kotlin.odata.DataQuery#selectItems DataQuery.selectItems}) for selecting from the target entity and set {@link com.sap.cloud.mobile.kotlin.odata.DataQuery#distinctItems DataQuery.distinctItems} to true. Note that this isn't a standard OData query option, so servers might ignore it.

Return

This query.

Parameters

items

The items to be selected.