api-docs / org.ktorm.dsl / WindowFrames / following
following
inline fun <reified T : Number> following(
n: T,
sqlType: SqlType<T> = SqlType.of() ?: error("Cannot detect the argument's SqlType, please specify manually.")
): WindowFrameBoundExpression
(source code)Create a bound expression that represents N following
.
For ROWS, the bound is n rows after the current row. For RANGE, the bound is the rows with values equal to
the current row value plus n; if the current row value is NULL, the bound is the peers of the row.
Since
3.6.0