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.2@sha256:77de460b831e7e5cea8fa0f5c0271ac5465d911d988443acef605fddf2ad2550,2997

Module documentation for 2.4.0.2

  • Database
    • Database.HDBC
      • Database.HDBC.ColTypes
      • Database.HDBC.DriverUtils
      • Database.HDBC.Locale
      • Database.HDBC.SqlValue
      • Database.HDBC.Statement
      • Database.HDBC.Types

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

  • Compatibility with GHC 8.2/time 1.8

2.4.0.1

  • Compatibility with time 1.5.
  • Minor documentation fixes.