arbiter-hasql-0.1.0.0
arbiter-hasql

arbiter-hasql

A hasql backend for Arbiter, a PostgreSQL job queue for Haskell.

Provides HasqlDb, a MonadArbiter monad over a hasql connection pool, with savepoint-based nested transactions and prepared statements for the hot path (on by default). Single-job handlers receive the connection of the worker transaction that acks the job. inTransaction runs Arbiter operations in a transaction the application already opened. The query, statement, transaction, and handler primitives in Arbiter.Hasql.MonadArbiter are for applications that write their own instance.

Modules

arbiter-hasql-0.1.0.0