TransactionStep
class TransactionStep<T>(val builder: QueryBuilder<*>, val executionLogic: (builder: QueryBuilder<*>, params: Map<String, Any?>) -> DataResult<T>, val params: Map<String, Any?>)
Encapsulates a single, deferred database operation within a TransactionPlan.
Created via org.octavius.data.builder.QueryBuilder.asStep and terminal methods like toField(), toList(), or execute(). The step is not executed immediately; instead, it stores all information needed for later execution within a transaction.
Parameters
T
The type of result this step will produce when executed.
See also
Constructors
Link copied to clipboard
constructor(builder: QueryBuilder<*>, executionLogic: (builder: QueryBuilder<*>, params: Map<String, Any?>) -> DataResult<T>, params: Map<String, Any?>)