Function: insertFollowUpTasks()
insertFollowUpTasks(
svc,rows):Promise<number>
Defined in: src/db/queries/pipeline.ts:1014
Bulk-insert generated tasks, idempotently. The UNIQUE(enrollment_id, step_no) constraint means a
re-generated step collides; we insert with ignoreDuplicates so re-runs (and the healing cron) are
no-ops rather than errors. Returns the number of rows actually created.
Parameters
svc
SupabaseClient
rows
object[]
Returns
Promise<number>