Back to Exposed

orderBy

docs/api/exposed-dao/org.jetbrains.exposed.v1.dao/-referrers/order-by.html

1.2.02.1 KB
Original Source

orderBy

infix fun orderBy(order: List<Pair<Expression<*>, SortOrder>>): Referrers<ParentID, Parent, ChildID, Child, REF>

fun orderBy(vararg order: Pair<Expression<*>, SortOrder>): Referrers<ParentID, Parent, ChildID, Child, REF>

Modifies this reference to sort entities based on multiple columns as specified in order.


infix fun orderBy(order: Pair<Expression<*>, SortOrder>): Referrers<ParentID, Parent, ChildID, Child, REF>

Modifies this reference to sort entities according to the specified order.


infix fun orderBy(expression: Expression<*>): Referrers<ParentID, Parent, ChildID, Child, REF>

Modifies this reference to sort entities by a column specified in expression using ascending order.

Generated by Dokka © 2026 Copyright