Module org.jooq
Package org.jooq

Interface SelectGroupByStep<R extends Record>

    • Method Detail

      • groupBy

        @Support
        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

        @Support
        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.