Expand description

postgres-es

A Postgres implementation of the EventStore trait in cqrs-es.

Structs

A snapshot backed event repository for use in backing a PersistedSnapshotStore.

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 Definitions

A convenience type for a CqrsFramework backed by PostgresStore.