HDBC: Haskell Database Connectivity
HDBC provides an abstraction layer between Haskell programs and SQL relational databases. This lets you write database code once, in Haskell, and have it work with any number of backend SQL databases (MySQL, Oracle, PostgreSQL, ODBC-compliant databases, etc.)
[Skip to Readme]
Modules
[Index] [Quick Jump]
Flags
Automatic Flags
| Name | Description | Default |
|---|---|---|
| splitbase | Choose the new smaller, split-up base package. | Enabled |
| buildtests | Build the executable to run unit tests | Disabled |
| mintime15 | Use time 1.5 or higher. | Enabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- HDBC-2.4.0.4.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 1.0.1, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.2.6.1, 2.2.7.0, 2.3.1.0, 2.3.1.1, 2.3.1.2, 2.4.0.0, 2.4.0.1, 2.4.0.2, 2.4.0.3, 2.4.0.4 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (<5), bytestring , containers , convertible (>=1.1.0.0), HUnit , mtl , old-locale , old-time , QuickCheck (>=2.0), text , time (>=1.2 && <1.14), utf8-string [details] |
| License | BSD-3-Clause |
| Copyright | Copyright (c) 2005-2011 John Goerzen |
| Author | John Goerzen, Nicolas Wu |
| Maintainer | Nicolas Wu <nicolas.wu@gmail.com> |
| Uploaded | by DavidJohnson at 2022年02月16日T23:38:07Z |
| Category | Database |
| Home page | https://github.com/hdbc/hdbc |
| Source repo | head: git clone https://github.com/hdbc/hdbc.git |
| Distributions | Debian:2.4.0.3, LTSHaskell:2.4.0.4, NixOS:2.4.0.4 |
| Reverse Dependencies | 64 direct, 89 indirect [details] |
| Executables | runtests |
| Downloads | 43336 total (71 in the last 30 days) |
| Rating | 2.25 (votes: 2) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs available [build log] Last success reported on 2022年02月17日 [all 1 reports] |
Readme for HDBC-2.4.0.4
[back to package description]HDBC
Welcome to HDBC, Haskell Database Connectivity.
HDBC is modeled loosely on Perl's DBI interface, though it has also been influenced by Python's DB-API v2, JDBC in Java, and HSQL in Haskell.
Please see the HDBC wiki for an introduction to HDBC and its various features.
Installation
You'll need either GHC 6.4.1 or above, or Hugs 2005xx or above.
The steps to install are:
ghc --make -o setup Setup.lhs
./setup configure
./setup build
sudo ./setup install
If you're on Windows, you can omit the leading "./".
Usage
To use with hugs, you'll want to use hugs -98.
To use with GHC, you'll want to use -package HDBC in your programs. Or, with Cabal, use Build-Depends: HDBC.