lag

open fun <T> ExpressionWithColumnType<T>.lag(offset: ExpressionWithColumnType<Int> = intLiteral(1), defaultValue: ExpressionWithColumnType<T>? = null): Lag<T>

Deprecated (with error)

This interface method will be removed following release 1.0.0 and should be replaced with the equivalent top-level function.

Replace with

import org.jetbrains.exposed.v1.core.lag
lag(offset, defaultValue)