partitionBy

fun partitionBy(vararg expressions: Expression<*>): WindowFunctionDefinition<T>

Groups the rows of the query by specified expressions into partitions, which are processed separately by the window function.