MCPcopy Create free account
hub / github.com/riverqueue/river / NotificationDeleteBefore

Method NotificationDeleteBefore

riverdriver/river_driver_interface.go:273–273  ·  view source on GitHub ↗

NotificationDeleteBefore deletes notifications before a certain time horizon. A "notification" in this context refers to a row in `river_notification` which is a special table implemented in some databases (e.g. SQLite) that simulates Postgres' listen/notify when not available.

(ctx context.Context, params *NotificationDeleteBeforeParams)

Source from the content-addressed store, hash-verified

271 // which is a special table implemented in some databases (e.g. SQLite) that
272 // simulates Postgres' listen/notify when not available.
273 NotificationDeleteBefore(ctx context.Context, params *NotificationDeleteBeforeParams) (int, error)
274
275 NotifyMany(ctx context.Context, params *NotifyManyParams) error
276 PGAdvisoryXactLock(ctx context.Context, key int64) (*struct{}, error)

Callers 5

exerciseNotificationFunction · 0.65
runOnceMethod · 0.65

Implementers 3

Executorriverdriver/riverpgxv5/river_pgx_v5_dr
Executorriverdriver/riverdatabasesql/river_dat
Executorriverdriver/riversqlite/river_sqlite_d

Calls

no outgoing calls

Tested by

no test coverage detected