Review funkt
This commit is contained in:
6
node_modules/bullmq/dist/cjs/postgres/commands/read_events.sql
generated
vendored
Normal file
6
node_modules/bullmq/dist/cjs/postgres/commands/read_events.sql
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
-- A page of events newer than a cursor, oldest first.
|
||||
-- Params: $1 queue, $2 cursor (exclusive), $3 limit.
|
||||
SELECT id, event, data FROM event
|
||||
WHERE queue = $1 AND id > $2
|
||||
ORDER BY id ASC
|
||||
LIMIT $3;
|
||||
Reference in New Issue
Block a user