resolveParams
internal fun resolveParams(raw: Map<String, Any?>, results: Map<StepHandle<*>, Any?>, stepIndex: Int, stepIndices: Map<StepHandle<*>, Int>): Map<String, Any?>
Replaces the unresolved values in a step's parameters with what the earlier steps produced. A SpreadParameters contributes its entries under their own names, so the result can be longer than raw. Every failure names the step, since a plan built in a loop has the same SQL and parameters in every step.
Parameters
stepIndex
Where this step sits in the plan being run.
stepIndices
Where every step sits, for naming the step a value was taken from.