HDBC

Haskell Database Connectivity

https://github.com/hdbc/hdbc

Version on this page:2.4.0.1@rev:1
LTS Haskell 22.39:2.4.0.4
Stackage Nightly 2024-10-31:2.4.0.4
Latest on Hackage:2.4.0.4

See all snapshots HDBC appears in

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.1@sha256:da1cef4f99bc200ef3c4c866519859dfee81457aff6a8fa7418c17f210a1e7fd,3110

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

  • Compatibility with time 1.5.
  • Minor documentation fixes.