Skip to main content

Crate ojak_postgres

Crate ojak_postgres 

Source
Expand description

PostgreSQL backends for Ojak: the queue, PostgresQueue, and the key-value store, PostgresKvStore, each in a table of its own that it creates on first use or that the application creates in a migration.

Queries are built at run time rather than checked by sqlx‘s macros against a database at compile time, since the tables’ names are the application’s to choose and an application building with this crate should not need a database for it.

Structs§

PostgresKvStore
A KvStore in a PostgreSQL table.
PostgresQueue
A Queue in a PostgreSQL table.