ListDistinct

By Carlos Henriques on 19 Jan

P10 introduced new operations over lists: ListAll, ListAny, ListFilter, ListIndexOf and ListSort.


But, it's still missing a very usefull operation: ListDistinct


We are still using SortRecordList extension just because of this functionality. It would be nice if it could be added to the system module.

My thoughts exactly, I was surprised it wasn't included in P10!

Most of the times Distinct could be prevented by another query, but sometime (by the nature of queries within OutSystems) it could be a usefull addition to prevent a requery to the database to populate lists.

Not a huge fan, but I see its potential on some occassions