TransactionStep

class TransactionStep<T> @PublishedApi constructor(val query: RunnableQuery<*>, val params: Map<String, Any?>, val run: (Map<String, Any?>) -> T)

One operation of a TransactionPlan, built by StepBuilder but not yet run: the query, its parameters as written, and the terminal to call once they are resolved.

Type Parameters

T

What running it will produce.

Constructors

Link copied to clipboard
internal constructor(query: RunnableQuery<*>, params: Map<String, Any?>, run: (Map<String, Any?>) -> T)

Properties

Link copied to clipboard
internal val params: Map<String, Any?>
Link copied to clipboard
Link copied to clipboard
internal val run: (Map<String, Any?>) -> T