BSD-3-Clause licensed by John Goerzen, Nicolas Wu
Maintained by Nicolas Wu
This version can be pinned in stack with:HDBC-2.4.0.3@sha256:99d3de808f53271afb0a8c31adfc99c7ef94f28355aba58bb0c9dffd4376296f,2998

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.

Changes

Changelog

2.4.0.3

  • Compatibility with GHC 8.8/time 1.9

2.4.0.2

  • Compatibility with GHC 8.2/time 1.8

2.4.0.1

  • Compatibility with time 1.5.
  • Minor documentation fixes.