Portability | non-portable |
---|---|
Stability | experimental |
Maintainer | haskelldb-users@lists.sourceforge.net |
Interface to the HDBC sqlite3 back-end.
- data SQLiteOptions = SQLiteOptions {}
- sqliteConnect :: MonadIO m => FilePath -> (Database -> m a) -> m a
- data DriverInterface = DriverInterface {}
- driver :: DriverInterface
Documentation
sqliteConnect :: MonadIO m => FilePath -> (Database -> m a) -> m aSource
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.
driver :: DriverInterfaceSource
This driver requires the following options: filepath