sqlite-simple-0.4.4.0: Mid-Level SQLite client library

Portabilityportable
Stabilityexperimental
MaintainerJanne Hellsten <jjhellst@gmail.com>
Safe HaskellNone

Database.SQLite.Simple.Internal

Description

Internal bits. This interface is less stable and can change at any time. In particular this means that while the rest of the sqlite-simple package endeavors to follow the package versioning policy, this module does not. Also, at the moment there are things in here that aren't particularly internal and are exported elsewhere; these will eventually disappear from this module.

Synopsis

Documentation

newtype Connection Source

Connection to an open database.

You can use connectionHandle to gain access to the underlying http://hackage.haskell.org/package/direct-sqlite connection. This may be useful if you need to access some direct-sqlite functionality that's not exposed in the sqlite-simple API. This should be a safe thing to do although mixing both APIs is discouraged.

Constructors

Connection 

data Field Source

A Field represents metadata about a particular field

Constructors

Field 

Fields

result :: SQLData
 
column :: !Int
 

newtype Row Source

Constructors

Row 

Fields

rowresult :: [SQLData]
 

newtype RowParser a Source

Constructors

RP 

Fields

unRP :: ReaderT Row (StateT Int Ok) a