Skip to main content

Crate improv_storage_mentat

Crate improv_storage_mentat 

Source
Expand description

Persist an Improv Model to the embedded (SQLite-backed) Mentat store.

The model is stored as datoms using the schema from IMPROV.txt (“Mentat schema (steering version)”): categories, items, measures, and input cells are first-class entities so the model is queryable, not an opaque blob.

Formulas and coordinates are stored as JSON strings (the AST/coordinate are serialized with serde); everything else maps to native datom value types.

Structs§

ModelStore
A model store backed by embedded Mentat (a single SQLite file, or "" for in-memory).

Enums§

StoreError

Type Aliases§

Result