(ctx context.Context, workflowID uuid.UUID)
| 454 | } |
| 455 | |
| 456 | func (r *WorkflowRepo) IncRunsCounter(ctx context.Context, workflowID uuid.UUID) error { |
| 457 | ctx, span := otelx.Start(ctx, workflowRepoTracer, "WorkflowRepo.IncRunsCounter") |
| 458 | defer span.End() |
| 459 | |
| 460 | return r.data.DB.Workflow.Update().AddRunsCount(1).Where(workflow.ID(workflowID)).Exec(ctx) |
| 461 | } |
| 462 | |
| 463 | func (r *WorkflowRepo) FindByID(ctx context.Context, id uuid.UUID) (*biz.Workflow, error) { |
| 464 | ctx, span := otelx.Start(ctx, workflowRepoTracer, "WorkflowRepo.FindByID") |
nothing calls this directly
no test coverage detected