jsonCast

open fun <T> jsonCast(expression: Expression<T>, jsonType: IColumnType<*>, queryBuilder: QueryBuilder)

SQL function that specifies a casting from one data type to the JSON type, if supported.

Parameters

expression

Expression to cast.

jsonType

The exact JSON column type to cast the expression to.

queryBuilder

Query builder to append the SQL function to.