use of lucee.runtime.sql.exp.Column in project Lucee by lucee.
the class QoQ method order.
private static void order(Query qry, Column[] columns) throws PageException {
Column col;
for (int i = columns.length - 1; i >= 0; i--) {
col = columns[i];
qry.sort(col.getColumn(), col.isDirectionBackward() ? Query.ORDER_DESC : Query.ORDER_ASC);
}
}
Aggregations