fix: clone base db queries

This commit is contained in:
Ali BARIN
2023-08-03 19:07:01 +00:00
parent e4e3356dc9
commit 7ca37c412e
11 changed files with 13 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ const getExecutions = async (
`;
const executions = executionBaseQuery
.clone()
.joinRelated('executionSteps as execution_steps')
.select('executions.*', raw(selectStatusStatement))
.withSoftDeleted()