class SortBuilder
val sortConfig = Query.where{ has(TestComponent.id) }
.with {
by(TestComponent.intVarData)
by(TestComponent.stringVarData).descCaseInsensitive()
}.take(0, 10)
| Name | Summary |
|---|---|
SortBuilder | constructor() |
| Name | Summary |
|---|---|
take | fun take(offset: Int, count: Int): SortBuilder Defines the range of sorting results by specifying the starting index and the number of items to include. |
with | fun with(init: SortCriteriaBuilder.() -> Unit): SortBuilder Configures the sorting criteria using a lambda function. |