| Copyright | HWT Group (c) 2003, Bjorn Bringert (c) 2006 |
|---|---|
| License | BSD-style |
| Maintainer | haskelldb-users@lists.sourceforge.net |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell98 |
Database.HaskellDB.HDBC.ODBC
Description
- odbcConnect :: MonadIO m => SqlGenerator -> [(String, String)] -> (Database -> m a) -> m a
- data DriverInterface :: * = DriverInterface {}
- driver :: DriverInterface
Documentation
odbcConnect :: MonadIO m => SqlGenerator -> [(String, String)] -> (Database -> m a) -> m a Source
data DriverInterface :: *
Interface which drivers should implement.
The connect function takes some driver specific name, value pairs
use to setup the database connection, and a database action to run.
requiredOptions lists all required options with a short description,
that is printed as help in the DBDirect program.
Constructors
| DriverInterface | |
driver :: DriverInterface Source
This driver passes its options through to HDBC.