HDBC: Haskell Database Connectivity

[ bsd3, database, library ] [ Propose Tags ]

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]

Flags

Manual Flags

NameDescriptionDefault
buildtests

Build the executable to run unit tests

Disabled
Automatic Flags
NameDescriptionDefault
splitbase

Choose the new smaller, split-up base package.

Enabled
time_gte_113

time > 1.1.3 has defined some more instances so omit them here

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

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

Package maintainers

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
Dependencies base (<4.5), bytestring (<0.11), containers (<0.6), convertible (>=1.0.10.0 && <1.1), mtl (<2.3), old-locale (>=1.0 && <1.1), old-time (<1.2), text (<1.3), time (>=1.1.2.4 && <=1.2.0.3), utf8-string (<1.1) [details]
License LicenseRef-LGPL
Copyright Copyright (c) 2005-2010 John Goerzen
Author John Goerzen
Maintainer John Goerzen <jgoerzen@complete.org>
Revised Revision 2 made by HerbertValerioRiedel at 2017-04-08T11:45:37Z
Category Database
Home page http://software.complete.org/hdbc
Uploaded by JohnGoerzen at 2011-04-29T14:12:42Z
Distributions Debian:2.4.0.3, LTSHaskell:2.4.0.4, NixOS:2.4.0.4, Stackage:2.4.0.4
Reverse Dependencies 64 direct, 88 indirect [details]
Executables runtests
Downloads 41740 total (104 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for HDBC-2.2.7.0

[back to package description]
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 doc/Database-HDBC.html 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:

1) ghc --make -o setup Setup.lhs

2) ./setup configure

3) ./setup build

4) ./setup install   (as root)

If you're on Windows, you can omit the leading "./".

Documentation is in doc/ -- lots of information, including pointers to
drivers, is in doc/Database-HDBC.html.

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.

-- John Goerzen
   December 2005