Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newArchiveStore :: IO UUID -> Pool Connection -> IO (ArchiveStore ByteString)
- newEventStore :: Pool Connection -> IO (EventStore ByteString)
- newSnapshotStore :: Pool Connection -> IO (SnapshotStore ByteString)
Documentation
newArchiveStore :: IO UUID -> Pool Connection -> IO (ArchiveStore ByteString) Source
Create an archive store backed by a PostgreSQL connection pool.
newEventStore :: Pool Connection -> IO (EventStore ByteString) Source
Create an event store backed by a PostgreSQL connection pool.
The database which the connections go to must have an appropriate
schema as defined by applyMigrations
.
newSnapshotStore :: Pool Connection -> IO (SnapshotStore ByteString) Source
Create an snapshot store backed by a PostgreSQL connection pool.