OCLOperators orderBy
No edit summary
No edit summary
Line 3: Line 3:
See also: [[OCLOperators orderDescending|orderDescending]]
See also: [[OCLOperators orderDescending|orderDescending]]


'''Note:''' Earlier OCLPs only allowed for ordering attributes on the class of the collection, but since extensions, 2021-01-16, OCLPS supports order to follow singlelinks to add attributes to ordering multiple single links steps away. Mind you, ordering on joined information reduces the result set according to the join (it is not an outer join - so data must be present in order to be included in the result set).
'''Note:''' Earlier OCLPs only allowed for ordering attributes on the class of the collection, but since extensions, '''2021-01-16''', OCLPS supports order to follow singlelinks to add attributes to ordering multiple single links steps away. Mind you, ordering on joined information reduces the result set according to the join (it is not an outer join - so data must be present in order to be included in the result set).
[[Category:OCL Collection Operators]]
[[Category:OCL Collection Operators]]

Revision as of 05:33, 31 May 2023

Sorts the collection on one or more properties.

See also: orderDescending

Note: Earlier OCLPs only allowed for ordering attributes on the class of the collection, but since extensions, 2021-01-16, OCLPS supports order to follow singlelinks to add attributes to ordering multiple single links steps away. Mind you, ordering on joined information reduces the result set according to the join (it is not an outer join - so data must be present in order to be included in the result set).

This page was edited 101 days ago on 02/10/2024. What links here