FromStep

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

An earlier step's result, as its terminal produced it: a Row after fetchRowStrict, a Senator after fetchObjectStrict<Senator>. map takes a part of it.

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, so a row becomes the column the next step needs without a step of its own:

Link copied to clipboard

Spreads this map into parameters under its own keys. The name it was filed under is only a placeholder and is not bound.