-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | HaskellDB support for the HDBC SQLite driver. -- -- HaskellDB support for the HDBC SQLite driver. @package haskelldb-hdbc-sqlite3 @version 0.13 -- | Interface to the HDBC sqlite3 back-end. module Database.HaskellDB.HDBC.SQLite3 data SQLiteOptions SQLiteOptions :: FilePath -> SQLiteOptions filepath :: SQLiteOptions -> FilePath sqliteConnect :: (MonadIO m) => FilePath -> (Database -> m a) -> m a -- | 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. 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 requires the following options: filepath driver :: DriverInterface