Column

data class Column<T>(val handle: StepHandle<*>, val columnName: String?) : TransactionValue.FromStep<List<T>>

Fetches all values from one column as a list.

Used mainly for passing results from one query as parameters to another, e.g., in clauses like WHERE id = ANY(:ids) or INSERT ... SELECT ... FROM UNNEST(...).

Parameters

T

The expected type of elements in the column. The resulting value will be of type List<T>.

handle

Handle to the step from which the data originates.

columnName

Name of the column whose values should be fetched.

Constructors

Link copied to clipboard
constructor(handle: StepHandle<*>, columnName: String?)
constructor(handle: StepHandle<*>)

Properties

Link copied to clipboard
Link copied to clipboard
open override val handle: StepHandle<*>

Functions

Link copied to clipboard
fun <IN, OUT> TransactionValue<IN>.map(transformation: (IN) -> OUT): TransactionValue<OUT>

Applies a transformation to a TransactionValue, creating a new, transformed value. This function is type-safe.