Module org.jooq
Package org.jooq

Interface UpdateOrderByStep<R extends Record>

    • Method Detail

      • orderBy

        @NotNull
        @Support
        @NotNull UpdateLimitStep<R> orderBy​(int... fieldIndexes)
        Add an ORDER BY clause to the query.

        Indexes start at 1 in SQL!

        Note, you can use orderBy(DSL.val(1).desc()) or orderBy(DSL.literal(1).desc()) to apply descending ordering