refactor(core): Move typeorm operators from SourceControlExportService to repositories (no-changelog) (#8168)
Follow-up to: #8165
This commit is contained in:
@@ -53,6 +53,10 @@ export class WorkflowRepository extends Repository<WorkflowEntity> {
|
||||
});
|
||||
}
|
||||
|
||||
async findByIds(workflowIds: string[]) {
|
||||
return this.find({ where: { id: In(workflowIds) } });
|
||||
}
|
||||
|
||||
async getActiveTriggerCount() {
|
||||
const totalTriggerCount = await this.sum('triggerCount', {
|
||||
active: true,
|
||||
|
||||
Reference in New Issue
Block a user