persistent-sqlite-2.1.3: Backend for the persistent library using sqlite3.

Safe HaskellNone
LanguageHaskell98

Database.Sqlite

Description

A port of the direct-sqlite package for dealing directly with PersistValues.

Synopsis

Documentation

data SqliteException Source

A custom exception type to make it easier to catch exceptions.

Since 2.1.3

Constructors

SqliteException 

Fields

seError :: !Error
 
seFunctionName :: !Text
 
seDetails :: !Text
 

data StepResult Source

Constructors

Row 
Done 

bindInt :: Statement -> Int -> Int -> IO () Source

bindText :: Statement -> Int -> Text -> IO () Source

bind :: Statement -> [PersistValue] -> IO () Source

column :: Statement -> Int -> IO PersistValue Source

columns :: Statement -> IO [PersistValue] Source