Safe Haskell | None |
---|
- data SQliteConnection = SQliteConnection {
- scDatabase :: MVar (Maybe Database)
- scConnString :: Text
- scStatements :: ChildList SQliteStatement
- data SQliteStatement = SQliteStatement {}
- data SQState
- = SQNew { }
- | SQExecuted { }
- | SQFetching { }
- | SQFinished
- connectSqlite3 :: Text -> IO SQliteConnection
Types
data SQliteConnection Source
Connection to the database
SQliteConnection | |
|
data SQliteStatement Source
Prepared statement
Internal state of the statement. There is two similar constructors
SQFetching
and SQExecuted
to simulate proper behaviour according to
tests.