676869707172737475
db.T_TEST.C_TEXT, db.V_TEST.C_TEXT, db.V_TEST.createCommand(), rec, new DBRelation(db, "test", new DBRelation.DBReference[]{db.T_TEST.C_TEXT.referenceOn(db.T_TEST.C_TEXT)}), new DBOrderByExpr(db.T_TEST.C_TEXT, true), db.T_TEST.C_ID.is(55) }; }
478479480481482483484485
*/ public final void orderBy(DBColumnExpr... exprs) { for (DBColumnExpr expr : exprs) { orderBy(new DBOrderByExpr(expr, false)); } }
490491492493494495496
* @param expr the DBColumnExpr object * @param desc if true, the results from select statement will sort top down */ public final void orderBy(DBColumnExpr expr, boolean desc) { orderBy(new DBOrderByExpr(expr, desc)); }
155156157158159160161162
orderBy = new ArrayList<DBOrderByExpr>(); // Add order by expression for (DBOrderByExpr obe : exprs) { DBColumnExpr c = getCmdColumn(obe.getColumnExpr()); orderBy.add(new DBOrderByExpr(c, obe.isDescending())); } }
1148114911501151115211531154
* <P> * @return the new DBOrderByExpr object for ascending order */ public DBOrderByExpr asc() { return new DBOrderByExpr(this, false); }
1158115911601161116211631164
* <P> * @return the new DBOrderByExpr object for descending order */ public DBOrderByExpr desc() { return new DBOrderByExpr(this, true); }
154155156157158159160161
475476477478479480481482
487488489490491492493
157158159160161162163164
orderBy = new ArrayList<DBOrderByExpr>(); // Add order by expression for (DBOrderByExpr obe : exprs) { DBColumnExpr c = getCmdColumn(obe.expr); orderBy.add(new DBOrderByExpr(c, obe.desc)); } }