[][src]Module domain_patterns::collections

Collections holds traits that define collection like abstractions. Currently it contains collection like abstractions over database accesss in the form of the Repository pattern.

Traits

EventRepository

EventRepository is a trait that provides collection like semantics over event storage and retrival. The implementor may choose to persist and retrieve events from any storage mechanism of their choosing.

ReadRepository

A trait that provides a collection like abstraction over read only database access.

Repository

A trait that provides a collection like abstraction over database access.