-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | HaskellDB support for the HDBC ODBC driver.
--   
--   HaskellDB requires this driver if HDBC will be used to connect to an
--   ODBC database.
@package haskelldb-hdbc-odbc
@version 2.1.2


module Database.HaskellDB.HDBC.ODBC
odbcConnect :: MonadIO m => SqlGenerator -> [(String, String)] -> (Database -> m a) -> m a

-- | Interface which drivers should implement. The <a>connect</a> function
--   takes some driver specific name, value pairs use to setup the database
--   connection, and a database action to run. <a>requiredOptions</a> lists
--   all required options with a short description, that is printed as help
--   in the DBDirect program.
data DriverInterface :: *
DriverInterface :: (forall (m :: * -> *) a. MonadIO m => [(String, String)] -> (Database -> m a) -> m a) -> [(String, String)] -> DriverInterface
[connect] :: DriverInterface -> forall (m :: * -> *) a. MonadIO m => [(String, String)] -> (Database -> m a) -> m a
[requiredOptions] :: DriverInterface -> [(String, String)]

-- | This driver passes its options through to HDBC.
driver :: DriverInterface
