Forums/Help from the Community/Community Questions & Answers

Answered

How to select from data class only distinct items?

Mika Friman
asked this on June 07, 2011 15:03

I'm using List Initializer to get contents from the Data-class, but there is no option to select only distinct values. What is the best way to do that?

 

Comments latest first

User photo
Paula Holst
HammerKit Oy

There is no way of selecting distinct values. This should not be thought of as an SQL query. On the site side rows in a data class table are treated as objects and the values there are object attributes. From the object list that the List Initalizer returns you can then use only the object attributes that you need.

June 07, 2011 15:05