Expand description
§apalis-sql
apalis offers Sqlite, Mysql and Postgres storages for its workers. See relevant modules for examples
Features
These features can be used to enable SQLx functionalities:
mysql
- MySQL support.postgres
- PostgreSQL support.sqlite
- SQLite support.migrate
- Migrations for Apalis tables.async-std-comp
- Use async-std runtime and rustls.async-std-comp-native-tls
- Use async-std runtime and native-tls.tokio-comp
- Use Tokio runtime and rustls.tokio-comp-native-tls
- Use Tokio runtime and native-tls.
For more information about the runtime and TLS features, see the SQLx features documentation.
Re-exports§
pub use sqlx;
Modules§
- context
- The context of the sql job
- from_
row - Util for fetching rows
- mysql
mysql
- MySQL storage for apalis. Uses
SKIP LOCKED
- postgres
postgres
- Postgres storage for apalis. Uses
NOTIFY
andSKIP LOCKED
- sqlite
sqlite
- 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