Module apalis_sql::postgres
source · Available on crate feature
postgres only.Expand description
Postgres storage for Apalis. Uses NOTIFY and SKIP LOCKED
Allows persisting jobs on a postgres db.
Comes with helper functions eg:
Sql Example:
Select
apalis.push_job(
'apalis::Email',
json_build_object('subject', 'Test Apalis', 'to', 'test1@example.com', 'text', 'Lorem Ipsum')
);
Structs
Represents a Storage that persists to Postgres