opaleye: An SQL-generating DSL targeting PostgreSQL
An SQL-generating DSL targeting PostgreSQL. Allows Postgres queries to be written within Haskell in a typesafe and composable fashion.
[Skip to Readme]
Modules
- Opaleye
- Opaleye.Adaptors
- Opaleye.Aggregate
- Opaleye.Binary
- Opaleye.Column
- Opaleye.Distinct
- Opaleye.Exists
- Experimental
- Opaleye.Experimental.Enum
- Opaleye.Field
- Opaleye.FunctionalJoin
- Opaleye.Inferrable
- Internal
- Opaleye.Internal.Aggregate
- Opaleye.Internal.Binary
- Opaleye.Internal.Column
- Opaleye.Internal.Constant
- Opaleye.Internal.Distinct
- HaskellDB
- Opaleye.Internal.HaskellDB.PrimQuery
- Opaleye.Internal.HaskellDB.Sql
- Opaleye.Internal.HaskellDB.Sql.Default
- Opaleye.Internal.HaskellDB.Sql.Generate
- Opaleye.Internal.HaskellDB.Sql.Print
- Opaleye.Internal.Helpers
- Opaleye.Internal.Inferrable
- Opaleye.Internal.JSONBuildObjectFields
- Opaleye.Internal.Join
- Opaleye.Internal.Lateral
- Opaleye.Internal.Locking
- Opaleye.Internal.Manipulation
- Opaleye.Internal.Map
- Opaleye.Internal.MaybeFields
- Opaleye.Internal.Operators
- Opaleye.Internal.Optimize
- Opaleye.Internal.Order
- Opaleye.Internal.PGTypes
- Opaleye.Internal.PGTypesExternal
- Opaleye.Internal.PackMap
- Opaleye.Internal.PrimQuery
- Opaleye.Internal.Print
- Opaleye.Internal.QueryArr
- Opaleye.Internal.Rebind
- Opaleye.Internal.RunQuery
- Opaleye.Internal.RunQueryExternal
- Opaleye.Internal.Sql
- Opaleye.Internal.Table
- Opaleye.Internal.Tag
- Opaleye.Internal.TypeFamilies
- Opaleye.Internal.Unpackspec
- Opaleye.Internal.Values
- Opaleye.Internal.Window
- Opaleye.Join
- Opaleye.Label
- Opaleye.Lateral
- Opaleye.Manipulation
- Opaleye.MaybeFields
- Opaleye.Operators
- Opaleye.Order
- Opaleye.RunSelect
- Opaleye.Select
- Opaleye.Sql
- Opaleye.SqlTypes
- Opaleye.Table
- Opaleye.ToFields
- Opaleye.TypeFamilies
- Opaleye.Values
- Opaleye.Window
- Opaleye.With
Downloads
- opaleye-0.10.7.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.2, 0.3, 0.3.1, 0.3.1.1, 0.3.1.2, 0.4.0.0, 0.4.1.0, 0.4.2.0, 0.5.0.0, 0.5.1.0, 0.5.1.1, 0.5.2.0, 0.5.2.1, 0.5.2.2, 0.5.3.0, 0.5.3.1, 0.5.4.0, 0.6.0.0, 0.6.1.0, 0.6.7000.0, 0.6.7001.0, 0.6.7002.0, 0.6.7003.0, 0.6.7003.1, 0.6.7004.0, 0.6.7004.1, 0.6.7004.2, 0.6.7005.0, 0.6.7006.0, 0.6.7006.1, 0.7.0.0, 0.7.1.0, 0.7.2.0, 0.7.3.0, 0.7.4.0, 0.7.5.0, 0.7.6.0, 0.7.6.1, 0.7.6.2, 0.8.0.0, 0.8.0.1, 0.8.1.0, 0.9.0.0, 0.9.1.0, 0.9.2.0, 0.9.3.0, 0.9.3.1, 0.9.3.2, 0.9.3.3, 0.9.4.0, 0.9.4.1, 0.9.5.0, 0.9.5.1, 0.9.6.0, 0.9.6.1, 0.9.6.2, 0.9.7.0, 0.10.0.0, 0.10.1.0, 0.10.1.1, 0.10.2.0, 0.10.2.1, 0.10.2.2, 0.10.2.3, 0.10.3.0, 0.10.3.1, 0.10.4.0, 0.10.5.0, 0.10.6.0, 0.10.7.0 (info) |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | aeson (>=0.6 && <2.3), base (>=4.9 && <4.23), base16-bytestring (>=0.1.1.6 && <1.1), bytestring (>=0.10 && <0.13), case-insensitive (>=1.2 && <1.3), contravariant (>=1.2 && <1.6), postgresql-simple (>=0.6 && <0.8), pretty (>=1.1.1.0 && <1.2), product-profunctors (>=0.11.0.3 && <0.12), profunctors (>=4.0 && <5.7), scientific (>=0.3 && <0.4), semigroups (>=0.13 && <0.21), text (>=0.11 && <2.2), time-compat (>=1.9.5 && <1.12), time-locale-compat (>=0.1 && <0.2), transformers (>=0.3 && <0.7), uuid-types (>=1.0.5 && <1.1), void (>=0.4 && <0.8) [details] |
| Tested with | ghc ==9.10, ghc ==9.8, ghc ==9.6, ghc ==9.4, ghc ==9.2, ghc ==9.0, ghc ==8.10, ghc ==8.8 |
| License | BSD-3-Clause |
| Copyright | Copyright (c) 2014-2018 Purely Agile Limited; 2019-2025 Tom Ellis |
| Author | |
| Maintainer | Tom Ellis |
| Uploaded | by tomjaguarpaw at 2025-07-16T09:34:06Z |
| Revised | Revision 2 made by tomjaguarpaw at 2026-01-09T09:54:56Z |
| Category | Database |
| Home page | https://github.com/tomjaguarpaw/haskell-opaleye |
| Bug tracker | https://github.com/tomjaguarpaw/haskell-opaleye/issues |
| Source repo | head: git clone https://github.com/tomjaguarpaw/haskell-opaleye.git |
| Distributions | LTSHaskell:0.10.7.0, NixOS:0.10.7.0, Stackage:0.10.7.0 |
| Reverse Dependencies | 10 direct, 2 indirect [details] |
| Downloads | 33979 total (302 in the last 30 days) |
| Rating | 2.5 (votes: 5) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs not available [build log] All reported builds failed as of 2025-07-16 [all 2 reports] |