MCPcopy Index your code
hub / github.com/simstudioai/sim / buildWorkflowIdsCondition

Function buildWorkflowIdsCondition

apps/sim/lib/logs/filters.ts:127–133  ·  view source on GitHub ↗
(workflowIds: string)

Source from the content-addressed store, hash-verified

125type ComparisonOperator = '=' | '>' | '<' | '>=' | '<=' | '!='
126
127function buildWorkflowIdsCondition(workflowIds: string): SQL | undefined {
128 const ids = workflowIds.split(',').filter(Boolean)
129 if (ids.length > 0) {
130 return inArray(workflow.id, ids)
131 }
132 return undefined
133}
134
135function buildFolderIdsCondition(folderIds: string): SQL | undefined {
136 const ids = folderIds.split(',').filter(Boolean)

Callers 1

buildFilterConditionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected