groupBy

fun groupBy(vararg columns: Expression<*>): Query

Appends a GROUP BY clause with the specified columns to this SELECT query.

Samples

org.jetbrains.exposed.sql.tests.shared.dml.GroupByTests.testGroupBy02