haskelldb-hdbc-sqlite3-0.13: HaskellDB support for the HDBC SQLite driver.Source codeContentsIndex
Database.HaskellDB.HDBC.SQLite3
Portabilitynon-portable
Stabilityexperimental
Maintainerhaskelldb-users@lists.sourceforge.net
Description
Interface to the HDBC sqlite3 back-end.
Synopsis
data SQLiteOptions = SQLiteOptions {
filepath :: FilePath
}
sqliteConnect :: MonadIO m => FilePath -> (Database -> m a) -> m a
data DriverInterface = DriverInterface {
connect :: forall m a. MonadIO m => [(String, String)] -> (Database -> m a) -> m a
requiredOptions :: [(String, String)]
}
driver :: DriverInterface
Documentation
data SQLiteOptions Source
Constructors
SQLiteOptions
filepath :: FilePath
sqliteConnect :: MonadIO m => FilePath -> (Database -> m a) -> m aSource
data DriverInterface Source
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
connect :: forall m a. MonadIO m => [(String, String)] -> (Database -> m a) -> m a
requiredOptions :: [(String, String)]
driver :: DriverInterfaceSource
This driver requires the following options: filepath
Produced by Haddock version 2.6.0