hsSqlite3-0.1: Sqlite3 bindingsSource codeContentsIndex
Database.Sqlite3.Middle
Documentation
type Db a = (DbError e, MonadError e m, MonadDb m) => m aSource
class DbError e whereSource
Methods
makeErr :: CInt -> eSource
castErr :: e -> Maybe CIntSource
show/hide Instances
class MonadIO m => MonadDb m whereSource
Methods
getDb :: m (Ptr C'sqlite3)Source
putDb :: Ptr C'sqlite3 -> m ()Source
cleanDb :: m ()Source
isDbReady :: m BoolSource
getSt :: m (Ptr C'sqlite3_stmt)Source
putSt :: Ptr C'sqlite3_stmt -> m ()Source
cleanSt :: m ()Source
isStReady :: m BoolSource
show/hide Instances
open :: String -> Db ()Source
close :: Db ()Source
prepare :: String -> Db ()Source
finalize :: Db ()Source
reset :: Db ()Source
step :: Db BoolSource
bindInt :: Int -> Int -> Db ()Source
bindDouble :: Int -> Double -> Db ()Source
bindText :: Int -> String -> Db ()Source
columnBytes :: Int -> Db IntSource
columnCount :: Db IntSource
columnInt :: Int -> Db IntSource
columnType :: Int -> Db IntSource
columnDouble :: Int -> Db DoubleSource
columnBlob :: Int -> Db ByteStringSource
newCString :: String -> IO CStringSource
err :: CInt -> Db ()Source
Produced by Haddock version 2.4.2