Struct cqrs_es2_sql::GenericQueryRepository [−][src]
pub struct GenericQueryRepository<V, A> where
V: IQuery<A>,
A: IAggregate, { /* fields omitted */ }
Expand description
This provides a simple query repository that can be used both to return deserialized views and to act as a query processor.
Implementations
Creates a new GenericQueryRepository
that will store its’
views in the table named identically to the query_name
value provided. This table should be created by the user
previously (see /db/init.sql
).
Since inbound views cannot
Used to apply committed events to a view.