Crate apalis_sql

Source
Expand description

§apalis-sql

apalis offers Sqlite, Mysql and Postgres storages for its workers. See relevant modules for examples

Re-exports§

pub use sqlx;

Modules§

context
The context of the sql job
from_row
Util for fetching rows
mysqlmysql
MySQL storage for apalis. Uses SKIP LOCKED
postgrespostgres
Postgres storage for apalis. Uses NOTIFY and SKIP LOCKED
sqlitesqlite
Sqlite Storage for apalis. Uses a transaction and min(rowid)

Macros§

sql_storage_tests
Standard checks for any sql backend

Structs§

Config
Config for sql storages

Enums§

SqlError
A general sql error

Functions§

calculate_status
Calculates the status from a result