Function postgres_es::postgres_cqrs
source · [−]pub fn postgres_cqrs<A>(
pool: Pool<Postgres>,
query_processor: Vec<Box<dyn Query<A>>>,
services: A::Services
) -> PostgresCqrs<A> where
A: Aggregate,
Expand description
A convenience function for creating a CqrsFramework from a database connection pool and queries.