Crate postgres_es
source ·Expand description
postgres-es
A Postgres implementation of the
EventStore
trait in cqrs-es.
Structs
- An event repository relying on a Postgres database for persistence.
- A postgres backed query repository for use in backing a
GenericQuery
.
Functions
- A convenience method for building a simple connection pool for PostgresDb. A connection pool is needed for both the event and view repositories.
- A convenience function for creating a CqrsFramework using an aggregate store.
- A convenience function for creating a CqrsFramework from a database connection pool and queries.
- A convenience function for creating a CqrsFramework using a snapshot store.
Type Aliases
- A convenience type for a CqrsFramework backed by PostgresStore.