|
| Database.HaskellDB.DriverAPI | | Portability | portable | | Stability | experimental | | Maintainer | chucky@dtek.chalmers.se |
|
|
|
| Description |
| This exports an API that all drivers must conform to. It
is used by the end user to load drivers either dynamically
or statically.
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
| 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 | |
|
|
|
| Instances | |
|
|
|
| Default dummy driver, real drivers should overload this
|
|
|
| :: Monad m | | | => [String] | options given
| | -> [(String, String)] | a list of the same length as the first argument
with the values of each option. Fails in the given
monad if any options is not found.
| | -> m [String] | | | Can be used by drivers to get option values from the given
list of name, value pairs.
|
|
|
|
| :: Monad m | | | => [(String, String)] | options given
| | -> [(String, String)] | a list of the same length as the first argument
with the values of each option. Fails in the given
monad if any options is not found.
| | -> m [String] | | | Can be used by drivers to get option values from the given
list of name, value pairs.
It is intended for use with the requiredOptions value of the driver.
|
|
|
|
|
|
| Produced by Haddock version 2.6.0 |