Implementation of an SQLite3-based event store.
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.