hsql-1.7.1: Simple library for database access from Haskell.

Database.HSQL.Types

Synopsis

Documentation

data Connection Source

A Connection type represents a connection to a database, through which you can operate on the it. In order to create the connection you need to use the connect function from the module for your prefered backend.

data Statement Source

The Statement type represents a result from the execution of given SQL query.

Constructors

Statement 

Fields

stmtConn :: Connection
 
stmtClose :: IO ()
 
stmtFetch :: IO Bool
 
stmtGetCol :: forall a. Int -> FieldDef -> (FieldDef -> CString -> Int -> IO a) -> IO a
 
stmtFields :: [FieldDef]
 
stmtClosed :: MVar Bool