simplest-sqlite-0.0.0.14: Simplest SQLite3 binding

Safe HaskellNone
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 where Source

Methods

bindNList :: Stmt -> Int -> [a] -> IO () Source

columnList :: Stmt -> Int -> IO [a] Source

Types

data SQLite Source

Instances

data Stmt Source

Instances

data Result Source

Constructors

Busy 
Row 
Done 

data Type Source

Constructors

Integer 
Float 
Text 
Blob 
Null