Copyright |
(c) 2011-2012 Leon P Smith
(c) 2012-2013 Janne Hellsten |
---|---|
License | BSD3 |
Maintainer | Janne Hellsten <jjhellst@gmail.com> |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
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
- newtype Connection = Connection { }
-
data
ColumnOutOfBounds
=
ColumnOutOfBounds
{
- errorColumnIndex :: ! Int
- data Field = Field { }
- newtype RowParseRO = RowParseRO { }
- newtype RowParser a = RP { }
- gettypename :: SQLData -> ByteString
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 | |
Fields |
data ColumnOutOfBounds Source #
Constructors
ColumnOutOfBounds | |
Fields
|
Instances
Eq ColumnOutOfBounds Source # | |
Defined in Database.SQLite.Simple.Internal Methods (==) :: ColumnOutOfBounds -> ColumnOutOfBounds -> Bool Source # (/=) :: ColumnOutOfBounds -> ColumnOutOfBounds -> Bool Source # |
|
Show ColumnOutOfBounds Source # | |
Defined in Database.SQLite.Simple.Internal |
|
Exception ColumnOutOfBounds Source # | |
Defined in Database.SQLite.Simple.Internal Methods toException :: ColumnOutOfBounds -> SomeException Source # fromException :: SomeException -> Maybe ColumnOutOfBounds Source # |
A Field represents metadata about a particular field
newtype RowParseRO Source #
Constructors
RowParseRO | |
Instances
Monad RowParser Source # | |
Functor RowParser Source # | |
Applicative RowParser Source # | |
Alternative RowParser Source # | |
MonadPlus RowParser Source # | |
gettypename :: SQLData -> ByteString Source #