between

open fun <T, S : T?> ExpressionWithColumnType<in S>.between(from: T, to: T): Between
open fun <T : Any, E : EntityID<T>?> Column<E>.between(from: T, to: T): Between

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.between
between(from, to)