simplest-sqlite-0.0.0.8: Simplest SQLite3 binding

Safe HaskellSafe
LanguageHaskell98

Database.SmplstSQLite3

Contents

Synopsis

Functions

withSQLite :: String -> (SQLite -> IO a) -> IO a Source

withPrepared :: SQLite -> String -> (Stmt -> IO a) -> IO (a, String) Source

reset :: Stmt -> IO () Source

bind :: SQLiteData a => Stmt -> String -> a -> IO () Source

class SQLiteDataList a Source

Minimal complete definition

bindNList, columnList

Types

data SQLite Source

Instances

data Stmt Source

Instances

data Result Source

Constructors

Busy 
Row 
Done