-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | SQLite3 backend for the cqrs package. -- -- SQLite3 backend for the cqrs package. @package cqrs-sqlite3 @version 0.9.0 -- | Implementation of an SQLite3-based event store. module Data.CQRS.EventStore.Backend.Sqlite3Utils sourceQuery :: Database -> Text -> [SQLData] -> Source (ResourceT IO) [SQLData] -- | Execute an SQL statement for which no result is expected. execSql :: Database -> Text -> [SQLData] -> IO () -- | Execute an IO action with an active transaction. withTransaction :: Database -> IO a -> IO a instance Eq State -- | Implementation of an SQLite3-based event store. module Data.CQRS.EventStore.Backend.Sqlite3 -- | SQLite3 event store backend type alias. data SQLite3EventStoreBackend -- | Create a pool of SQLite3-based event store backends. createBackendPool :: Int -> Text -> IO (Pool SQLite3EventStoreBackend) instance EventStoreBackend SQLite3EventStoreBackend instance ToSQLData ByteString instance ToSQLData Int instance ToSQLData GUID