Extract
class Extract<T>(val expression: Expression<*>, val path: String, val toScalar: Boolean, val jsonType: IColumnType<*>, columnType: IColumnType<T & Any>) : Function<T>
Represents an SQL function that returns extracted data from a JSON object at the specified path, either as a JSON representation or as a scalar value.
Constructors
Link copied to clipboard
constructor(expression: Expression<*>, vararg path: String, toScalar: Boolean, jsonType: IColumnType<*>, columnType: IColumnType<T & Any>)
Properties
Link copied to clipboard
Link copied to clipboard
The expression from which to extract JSON subcomponents matched by path.
Link copied to clipboard
The column type of expression to check, if casting to JSONB is required.