Module org.jooq
Package org.jooq

Interface SelectGroupByStep<R extends Record>

    • Method Detail

      • groupBy

        @NotNull
        @Support
        @NotNull SelectHavingStep<R> groupBy​(GroupField... fields)
        Add a GROUP BY clause to the query

        Calling this with an empty argument list will result in an empty GROUP BY () clause being rendered.

      • groupBy

        @NotNull
        @Support
        @NotNull SelectHavingStep<R> groupBy​(Collection<? extends GroupField> fields)
        Add a GROUP BY clause to the query

        Calling this with an empty argument list will result in an empty GROUP BY () clause being rendered.