FromStep

data class FromStep<out T>(val handle: StepHandle<T>) : TransactionValue<T>

An earlier step's result, whole and as its terminal produced it.

T is the terminal's own type: fetchRowStrict gives a Row, fetchRows a List<Row>, fetchObjectStrict<Senator> a Senator. Taking a column, an element or a property out of one is map over that type; what a step can bind is on StepHandle.value.

Constructors

Link copied to clipboard
constructor(handle: StepHandle<T>)

Properties

Link copied to clipboard

Functions

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

Applies transformation to this value once it resolves.

Link copied to clipboard

Marks this map to be spread into parameters of its own rather than assigned to one.