Hello, Use Factory.val() or Factory.literal() to create org.jooq.Field objects from your indexes:
.orderBy( val(2).asc(), literal(1).desc() ) - Use val to create a bind value - Use literal to create an inline value Cheers Lukas 2012/2/10 <[email protected]>: > Hello. > In JOOQ, I know how to do "order by 2, 1". > But, how can I do "order by 2 asc, 1 desc"?
