haskelldb-hdbc-sqlite3-2.1.1: HaskellDB support for the HDBC SQLite driver.

CopyrightHWT Group 2003, Bjorn Bringert 2005-2006
LicenseBSD-style
Maintainerhaskelldb-users@lists.sourceforge.net
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell98

Database.HaskellDB.HDBC.SQLite3

Description

Interface to the HDBC sqlite3 back-end.

Synopsis

Documentation

data SQLiteOptions Source

Constructors

SQLiteOptions 

Fields

filepath :: FilePath
 

sqliteConnect :: MonadIO m => FilePath -> (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 

Fields

connect :: forall m a. MonadIO m => [(String, String)] -> (Database -> m a) -> m a
 
requiredOptions :: [(String, String)]
 

driver :: DriverInterface Source

This driver requires the following options: "filepath"