hdbi-sqlite-1.3.0: SQlite driver for HDBI

Safe HaskellNone

Database.HDBI.SQlite

Contents

Synopsis

Types

data SQliteConnection Source

Connection to the database

Constructors

SQliteConnection 

Fields

scDatabase :: MVar (Maybe Database)
 
scConnString :: Text
 
scStatements :: ChildList SQliteStatement

List of statements to finish before disconnect

data SQState Source

Internal state of the statement. There is two similar constructors SQFetching and SQExecuted to simulate proper behaviour according to tests.

Functions

connectSqlite3Source

Arguments

:: Text

Connection string

-> IO SQliteConnection 

Connect to SQlite3 database