 | Takusen-0.8.2: Database library with left-fold interface, for PostgreSQL, Oracle, SQLite, ODBC. | Contents | Index |
|
| Database.Stub.Enumerator | | Portability | non-portable | | Stability | experimental | | Maintainer | oleg@pobox.com, alistair@abayley.org |
|
|
|
|
|
| Description |
Stub implementation of Database.Enumerator.
Useful for people who can't or won't install a DBMS,
so that they can try out the Enumerator interface.
Currently last last row of any fetch will have a null in its Int columns
(this makes it easier to test handling of nulls and DBUnexpectedNull).
See fetchIntVal.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| data Session |
Instances | |
|
|
| data ConnParm |
| Constructors | | ConnParm | | | user, pswd, dbname :: String | |
|
|
|
|
| connect :: ConnParm -> ConnectA Session |
|
| sql :: String -> QueryString |
|
| prefetch :: Int -> String -> QueryStringTuned |
|
| data QueryResourceUsage |
| At present the only resource tuning we support is the number of rows
prefetched by the FFI library.
We use a record to (hopefully) make it easy to add other
tuning parameters later.
| | Constructors | |
|
|
| Produced by Haddock version 0.7 |