eventsourcing_postgres

Functions

pub fn create_event_table(
  postgres_store: PostgresStore(a, b, c, d),
) -> Result(Nil, EventSourcingError(d))
pub fn create_snapshot_table(
  postgres_store: PostgresStore(a, b, c, d),
) -> Result(Nil, EventSourcingError(d))
pub fn new(
  pgo_config pgo_config: Config,
  event_encoder event_encoder: fn(a) -> String,
  event_decoder event_decoder: Decoder(a),
  event_type event_type: String,
  event_version event_version: String,
  aggregate_type aggregate_type: String,
  entity_encoder entity_encoder: fn(b) -> String,
  entity_decoder entity_decoder: Decoder(b),
) -> EventStore(PostgresStore(b, c, a, d), b, c, a, d, Connection)
Search Document