MCPcopy Create free account
hub / github.com/ShipSecAI/studio / buildRunFilter

Method buildRunFilter

backend/src/trace/trace.repository.ts:199–205  ·  view source on GitHub ↗
(runId: string, organizationId?: string | null)

Source from the content-addressed store, hash-verified

197 }
198
199 private buildRunFilter(runId: string, organizationId?: string | null) {
200 const base = eq(workflowTracesTable.runId, runId);
201 if (!organizationId) {
202 return base;
203 }
204 return and(base, eq(workflowTracesTable.organizationId, organizationId));
205 }
206}

Callers 5

listByRunIdMethod · 0.95
listAfterSequenceMethod · 0.95
countByTypeMethod · 0.95
getEventTimeRangeMethod · 0.95
getLastSequenceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected