public class Order extends Object
Modifier and Type | Method and Description |
---|---|
static Order |
ascending(String... columnNames)
To order things in an increasing direction by the passed columns.
|
static Order |
descending(String... columnNames)
To order things in a decreasing direction by the passed columns.
|
String |
render()
Generates a SQL snippet for appending to a query.
|
public static Order ascending(String... columnNames)
columnNames
- The column names to use in the orderingpublic static Order descending(String... columnNames)
columnNames
- The column names to use in the orderingpublic String render()
Copyright © 2019. All rights reserved.