[−][src]Crate postgres_es
postgres-es
A Postgres implementation of the
EventStoretrait in cqrs-es.
Installation
[dependencies]
postgres-es = "0.0.20"
cqrs-es = "0.0.20"
Structs
| GenericQueryRepository | This provides a simple query repository that can be used both to return deserialized views and to act as a query processor.  | 
| PostgresSnapshotStore | Storage engine using an Postgres backing and relying on a serialization of the aggregate rather than individual events. This is similar to the "snapshot strategy" seen in many CQRS frameworks.  | 
| PostgresSnapshotStoreAggregateContext | Holds context for a pure event store implementation for MemStore  | 
| PostgresStore | Storage engine using an Postgres backing. This is the only persistent store currently provided.  | 
| PostgresStoreAggregateContext | Holds context for a pure event store implementation for MemStore  | 
Functions
| postgres_cqrs | A convenience function for creating a CqrsFramework  | 
| postgres_snapshot_cqrs | A convenience function for creating a CqrsFramework using a snapshot store  | 
Type Definitions
| PostgresCqrs | A convenience type for creating a CqrsFramework backed by PostgresStore and using a simple metadata supplier with time of commit.  | 
| PostgresSnapshotCqrs | A convenience type for creating a CqrsFramework backed by PostgresSnapshotStore and using a simple metadata supplier with time of commit.  |