Field

data class Field<T>(val handle: StepHandle<*>, val columnName: String?, val rowIndex: Int = 0) : TransactionValue.FromStep<T>

Fetches a single value from a specific cell (row, column). Ideal for retrieving the ID from a just-inserted row.

Parameters

T

The expected type of the field's value.

handle

Handle to the step from which the data originates.

columnName

Name of the column from which the value should be fetched.

rowIndex

Row index (default 0, i.e., first).

Constructors

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

Properties

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

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.