api-docs / org.ktorm.dsl / orderBy
orderBy
fun Query.orderBy(
orders: Collection<OrderByExpression>
): Query
(source code)fun Query.orderBy(vararg orders: OrderByExpression): Query
(source code)Specify the order by
clause of this query using the given order-by expressions.
fun WindowSpecificationExpression.orderBy(
orders: Collection<OrderByExpression>
): WindowSpecificationExpression
(source code)fun WindowSpecificationExpression.orderBy(
vararg orders: OrderByExpression
): WindowSpecificationExpression
(source code)Specify the order-by clause of this window using the given order-by expressions.
An order-by clause indicates how to sort rows in each partition. Partition rows that are equal according to the
order-by clause are considered peers. If order-by is omitted, partition rows are unordered, with no processing
order implied, and all partition rows are peers.
Since
3.6.0