cqrs-sqlite3-0.6.0: SQLite3 backend for the cqrs package.

Data.CQRS.EventStore.Backend.Sqlite3Utils

Description

Implementation of an SQLite3-based event store.

Synopsis

Documentation

enumQueryResult :: Database -> String -> [SQLData] -> Enumerator [SQLData] IO bSource

Perform a query and enumerate the results. Each result is a list of returned columns.

execSql :: Database -> String -> [SQLData] -> IO ()Source

Execute an SQL statement for which no result is expected.

withTransaction :: Database -> IO a -> IO aSource

Execute an IO action with an active transaction.