order result from forloop bby args _index

This commit is contained in:
Ruben Fiszel
2022-07-31 20:39:31 +02:00
parent 03ed38e9b2
commit a368d2c6d4
+1
View File
@@ -157,6 +157,7 @@ pub async fn update_flow_status_after_job_completion(
WHERE id = ANY($1)
AND workspace_id = $2
AND success = true
ORDER BY args->>'_index'
",
)
.bind(jobs.as_slice())