Crate sqlite_es

Source
Expand description

§sqlite-es

An SQLite implementation of the EventStore trait in cqrs-es.

Structs§

SqliteEventRepository
An event repository relying on a SQLite database for persistence.
SqliteViewRepository
An SQLite backed query repository for use in backing a GenericQuery.

Functions§

default_sqlite_pool
A convenience method for building a simple connection pool for SQLite. A connection pool is needed for both the event and view repositories.
sqlite_aggregate_cqrs
A convenience function for creating a CqrsFramework using an aggregate store.
sqlite_cqrs
A convenience function for creating a CqrsFramework from a database connection pool and queries.
sqlite_snapshot_cqrs
A convenience function for creating a CqrsFramework using a snapshot store.

Type Aliases§

SqliteCqrs
A convenience type for a CqrsFramework backed by SqliteEventRepository.