@hackage HDBC1.0.1
Installation
CustomDependencies (2)
Dependents (85)
@hackage/MetaHDBC, @hackage/haskelldb-hdbc-mysql, @hackage/persistable-types-HDBC-pg, @hackage/weekdaze, @hackage/postgresql-typed, @hackage/Villefort, Show all…
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 doc/Database-HDBC.html 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
-
./setup install (as root)
If you're on Windows, you can omit the leading "./".
Documentation is in doc/ -- lots of information, including pointers to drivers, is in doc/Database-HDBC.html.
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.
-- John Goerzen December 2005