Sorts
Kotlin JDSL has Sort
interface to represent an order-by item in JPQL. To build Sort
, you can use asc()
and desc()
after Expression
.
Null order
Calling nullsFirst()
or nullsLast()
on Sort
allows to specify where null values appear in an ordered result.
Last updated