CustomExpr

open class CustomExpr<T>(val text: String, columnType: IColumnType<T & Any>) : Function<T>

An Exposed Function that embeds raw SQL text as a typed expression in queries.

Parameters

columnType

the Exposed column type used for result mapping

Type Parameters

T

the Kotlin type this expression evaluates to

Constructors

Link copied to clipboard
constructor(text: String, columnType: IColumnType<T & Any>)

Properties

Link copied to clipboard
open override val columnType: IColumnType<T & Any>
Link copied to clipboard

the raw SQL expression text

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toQueryBuilder(queryBuilder: QueryBuilder)
Link copied to clipboard
open override fun toString(): String