#cqrs #event-sourcing #serverless #sqlite

sqlite-es

An SQLite implementation of an event repository for cqrs-es

1 unstable release

0.4.5 Nov 15, 2022

#387 in Configuration

Apache-2.0

44KB
1K SLoC

sqlite-es

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


Usage

Add to your Cargo.toml file:

[dependencies]
cqrs-es = "0.4.5"
sqlite-es = "0.4.5"

A simple configuration example:

let store = default_sqlite_pool("sqlite://my.db");
let cqrs = sqlite_es::sqite_cqrs::<MyAggregate>(pool, vec![], ())

Things that could be helpful:

Crates.io docs


lib.rs:

sqlite-es

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

Dependencies

~41MB
~845K SLoC