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.4@sha256:6fc3406c7ccf709e303e03b009e0c7f6be0774d0095f190e1014786cc955d702,3080

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.4

  • Zero-prefix years when parsing dates.

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.