persistent-sql-lifted: Monad classes for running queries with Persistent and Esqueleto
This package introduces two classes: MonadSqlBackend for monadic contexts in which a SqlBackend is available, and MonadSqlTx for contexts in which we can execute a SQL transaction.
Additionally, this package provides variants of query-running utilities from Persistent and Esqueleto which are concretized to use SqlBackend, generalized to a MonadSqlBackend m constraint rather than "ReaderT backend", and wrapped in checkpointCallStack so that exceptions will include call stacks.
[Skip to Readme]
Modules
[Index] [Quick Jump]
- Database
- Persist
- Sql
- Database.Persist.Sql.Lifted
- Database.Persist.Sql.Lifted.Core
- Database.Persist.Sql.Lifted.Esqueleto
- Database.Persist.Sql.Lifted.Expression
- Database.Persist.Sql.Lifted.Expression.Bool
- Database.Persist.Sql.Lifted.Expression.Case
- Database.Persist.Sql.Lifted.Expression.Comparison
- Database.Persist.Sql.Lifted.Expression.Constant
- Database.Persist.Sql.Lifted.Expression.Count
- Database.Persist.Sql.Lifted.Expression.Exists
- Database.Persist.Sql.Lifted.Expression.Insert
- Database.Persist.Sql.Lifted.Expression.Key
- Database.Persist.Sql.Lifted.Expression.List
- Database.Persist.Sql.Lifted.Expression.Maybe
- Database.Persist.Sql.Lifted.Expression.Number
- Database.Persist.Sql.Lifted.Expression.OrderBy
- Database.Persist.Sql.Lifted.Expression.Projection
- Database.Persist.Sql.Lifted.Expression.String
- Database.Persist.Sql.Lifted.Expression.SubSelect
- Database.Persist.Sql.Lifted.Expression.Table
- Database.Persist.Sql.Lifted.Expression.Type
- Database.Persist.Sql.Lifted.Expression.Update
- Database.Persist.Sql.Lifted.Filter
- Database.Persist.Sql.Lifted.From
- Database.Persist.Sql.Lifted.HasSqlBackend
- Database.Persist.Sql.Lifted.MonadSqlBackend
- Database.Persist.Sql.Lifted.MonadSqlTx
- Database.Persist.Sql.Lifted.Persistent
- Database.Persist.Sql.Lifted.Query
- Database.Persist.Sql.Lifted.Update
- Database.Persist.Sql.Lifted
- Sql
- Persist
Downloads
- persistent-sql-lifted-0.4.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0.0, 0.1.1.0, 0.2.0.0, 0.3.0.0, 0.4.0.0 |
---|---|
Change log | CHANGELOG.md |
Dependencies | annotated-exception (>=0.2.0.4), base (>=4.16.4.0 && <5), containers (>=0.6.5.1), esqueleto (>=3.5.10.0), mtl (>=2.2.2), persistent (>=2.14.5.0), text (>=1.2.5.0), unliftio-core (>=0.2.1.0) [details] |
License | MIT |
Author | |
Maintainer | Freckle Education |
Category | Database |
Home page | https://github.com/freckle/persistent-sql-lifted#readme |
Bug tracker | https://github.com/freckle/persistent-sql-lifted/issues |
Source repo | head: git clone https://github.com/freckle/persistent-sql-lifted |
Uploaded | by PatrickBrisbin at 2025-01-21T18:11:00Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 95 total (80 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2025-01-21 [all 1 reports] |