Closed jcaviedesc closed 7 years ago
In your code, the response
in the mergeMap
operator is from the first database query. You have two ways to solve this:
Declare start_actual_time
, end_actual_time
, and devolution
outside the handler function of do
operator. This will make them accessible to the handler function of mergeMap
operator.
Use map instead of do
to execute the transformation and return the result for next operator (mergeMap
).
Great, thank you very much.
hello, I am trying to transform the result into the first query and then use it in the next query