Crate mysql_es

Source
Expand description

§mysql-es

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

Structs§

MysqlEventRepository
An event repository relying on a MySql database for persistence.
MysqlViewRepository
A mysql backed query repository for use in backing a GenericQuery.

Functions§

default_mysql_pool
A convenience building a simple connection pool for MySql database.
mysql_aggregate_cqrs
A convenience function for creating a CqrsFramework using an aggregate store.
mysql_cqrs
A convenience method for building a simple connection pool for MySql. A connection pool is needed for both the event and view repositories.
mysql_snapshot_cqrs
A convenience function for creating a CqrsFramework using a snapshot store.

Type Aliases§

MysqlCqrs
A convenience type for a CqrsFramework backed by MysqlStore.