|
|
|
|
|
| Description |
| Module for handling a databases connection
|
|
| Synopsis |
|
|
|
|
| The Connection class
|
|
| class Connection c where |
| | Methods | | open :: c -> IO (Ptr c) | | open a connection to a database
| | | close :: Ptr c -> IO () | | close a opened connection
|
| | Instances | |
|
|
| The Databases class
|
|
| class Connection c => Databases a c where |
| | Methods | | loadCollection :: Ptr c -> String -> IO [a] | | load a object list from database
| | | saveCollection :: Ptr c -> String -> [a] -> IO Bool | | save a object list a to database Foreign.Ptr.Ptr c
|
| | Instances | |
|
|
| Produced by Haddock version 0.7 |