Files
travel-app/node_modules/bullmq/dist/esm/postgres/commands/add_flow.sql
2026-08-09 21:56:00 +00:00

4 lines
182 B
SQL

-- Insert a flow (tree) of jobs atomically. Param: $1 entries (jsonb array,
-- ordered roots-first). Returns the job ids in input order.
SELECT id FROM add_flow($1::jsonb) AS t(id);