Skip to main content

Module sqlite

Module sqlite 

Source
Expand description

SqliteOutputStore โ€” SQLite-backed OutputStore.

One row per emit (OutputRecord). event and parent_refs are stored as JSON blobs (both types already carry Serialize + Deserialize), so adding a new OutputEvent variant does not require a schema migration.

Ordering guarantees:

  • list_for_attempt returns rows in insertion order (per the trait contract) via an autoincrementing seq column.
  • get_latest_by_name picks the row with the largest seq for a given producer_agent.

Structsยง

SqliteOutputStore
SQLite-backed OutputStore.