@hackage HDBC2.3.1.2
Haskell Database Connectivity
Installation
Dependencies (10)
- base <3
- bytestring <0.11
- containers <0.6
- convertible >=1.0.10.0 && <1.1
- mtl <2.3
- old-locale >=1.0 && <1.1 Show all…
Dependents (85)
@hackage/MetaHDBC, @hackage/haskelldb-hdbc-mysql, @hackage/persistable-types-HDBC-pg, @hackage/weekdaze, @hackage/postgresql-typed, @hackage/Villefort, Show all…
Package Flags
splitbase
(on by default)
Choose the new smaller, split-up base package.
buildtests
(off by default)
Build the executable to run unit tests
time_gte_113
(on by default)
time > 1.1.3 has defined some more instances so omit them here
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.