hasql: Fast PostgreSQL driver with a flexible mapping API
Root of the "hasql" ecosystem. This library provides connection management, execution of queries and mapping of parameters and results. Extended functionality such as pooling, transactions and compile-time checking is provided by extension libraries. For more details and tutorials see the readme.
The API comes free from all kinds of exceptions.
All error-reporting is explicit and is presented using the Either
type.
"hasql" requires you to have the "libpq" C-library installed to compile. Starting from version 1.7 of "hasql" it requires "libpq" of at least version 14. "libpq" comes distributed with PostgreSQL, so typically all you need is just to install the latest PostgreSQL distro.
Despite the mentioned requirements for "libpq" "hasql" is compatible with a wide range of PostgreSQL servers with tests having been conducted starting from version 8.3.
[Skip to Readme]
library hasql
Modules
[Index] [Quick Jump]
library hasql:testing-kit
Modules
[Index] [Quick Jump]
- Hasql
- TestingKit
- Hasql.TestingKit.Constants
- Preludes
- Hasql.TestingKit.Preludes.Base
- Statements
- Hasql.TestingKit.Statements.BrokenSyntax
- Hasql.TestingKit.Statements.GenerateSeries
- Hasql.TestingKit.Statements.WrongDecoder
- Hasql.TestingKit.TestingDsl
- TestingKit
Downloads
- hasql-1.8.1.3.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.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.4.0, 0.4.1, 0.5.0, 0.6.0, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.3.1, 0.7.3.2, 0.7.4, 0.14.0.2, 0.14.0.3, 0.15.0.2, 0.15.1, 0.15.1.1, 0.19.2, 0.19.3, 0.19.3.1, 0.19.3.2, 0.19.3.3, 0.19.4, 0.19.5, 0.19.6, 0.19.7, 0.19.8, 0.19.9, 0.19.10, 0.19.11, 0.19.12, 0.19.13, 0.19.14, 0.19.15, 0.19.15.1, 0.19.15.2, 0.19.16, 0.19.17, 0.19.17.1, 0.19.18, 0.19.18.1, 0.19.18.2, 0.20, 0.20.0.1, 0.20.1, 1, 1.1, 1.1.1, 1.2, 1.3, 1.3.0.1, 1.3.0.2, 1.3.0.3, 1.3.0.5, 1.3.0.6, 1.4, 1.4.0.1, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.4.1, 1.4.4.2, 1.4.4.3, 1.4.5, 1.4.5.1, 1.4.5.2, 1.4.5.3, 1.5, 1.5.0.1, 1.5.0.2, 1.5.0.3, 1.5.0.4, 1.5.0.5, 1.5.1, 1.6, 1.6.0.1, 1.6.1, 1.6.1.1, 1.6.1.2, 1.6.1.3, 1.6.1.4, 1.6.2, 1.6.3, 1.6.3.1, 1.6.3.2, 1.6.3.3, 1.6.3.4, 1.6.4, 1.6.4.1, 1.6.4.2, 1.6.4.3, 1.6.4.4, 1.7, 1.7.0.1, 1.7.0.2, 1.8, 1.8.0.1, 1.8.0.2, 1.8.1, 1.8.1.1, 1.8.1.2, 1.8.1.3 (info) |
---|---|
Change log | CHANGELOG.md |
Dependencies | aeson (>=2 && <3), attoparsec (>=0.10 && <0.15), base (>=4.14 && <5), bytestring (>=0.10 && <0.13), bytestring-strict-builder (>=0.4.5.1 && <0.5), contravariant (>=1.3 && <2), dlist (>=0.8 && <0.9 || >=1 && <2), hashable (>=1.2 && <2), hashtables (>=1.1 && <2), hasql, iproute (>=1.7 && <1.8), mtl (>=2 && <3), postgresql-binary (>=0.14 && <0.15), postgresql-libpq (>=0.10.1 && <0.12), profunctors (>=5.1 && <6), scientific (>=0.3 && <0.4), text (>=1 && <3), text-builder (>=0.6.7 && <0.7), time (>=1.9 && <2), transformers (>=0.6 && <0.7), uuid (>=1.3 && <2), vector (>=0.10 && <0.14) [details] |
License | MIT |
Copyright | (c) 2014, Nikita Volkov |
Author | Nikita Volkov <nikita.y.volkov@mail.ru> |
Maintainer | Nikita Volkov <nikita.y.volkov@mail.ru> |
Category | Hasql, Database, PostgreSQL |
Home page | https://github.com/nikita-volkov/hasql |
Bug tracker | https://github.com/nikita-volkov/hasql/issues |
Source repo | head: git clone git://github.com/nikita-volkov/hasql.git |
Uploaded | by NikitaVolkov at 2024-12-01T14:17:34Z |
Distributions | Arch:1.5.0.4, LTSHaskell:1.8.1.3, NixOS:1.6.4.4, Stackage:1.8.1.3 |
Reverse Dependencies | 45 direct, 3 indirect [details] |
Downloads | 64704 total (277 in the last 30 days) |
Rating | 2.5 (votes: 3) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |