api-docs / org.ktorm.dsl / partitionBy
partitionBy
fun WindowSpecificationExpression.partitionBy(
columns: Collection<ColumnDeclaring<*>>
): WindowSpecificationExpression
(source code)fun WindowSpecificationExpression.partitionBy(
vararg columns: ColumnDeclaring<*>
): WindowSpecificationExpression
(source code)Specify the partition-by clause of this window using the given columns or expressions.
A partition-by clause indicates how to divide the query rows into groups. The window function result for a given row
is based on the rows of the partition that contains the row. If partition-by is omitted, there is a single partition
consisting of all query rows.
Since
3.6.0