MCPcopy Create free account
hub / github.com/dataddo/pgq / HandleMessage

Method HandleMessage

integtest/consumer_test.go:357–360  ·  view source on GitHub ↗
(ctx context.Context, _ *MessageIncoming)

Source from the content-addressed store, hash-verified

355 db := openDB(t)
356 queueName := t.Name()
357 _, _ = db.ExecContext(ctx, schema.GenerateDropTableQuery(queueName))
358 _, err := db.ExecContext(ctx, generateCreateTableWithoutIndexesQuery(queueName))
359 require.NoError(t, err)
360 t.Cleanup(func() {
361 db := openDB(t)
362 _, err := db.ExecContext(ctx, schema.GenerateDropTableQuery(queueName))
363 require.NoError(t, err)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected