Expand description
Persistence — save/load catalog and storage to/from disk.
Layout in database directory:
catalog.json — serialized CatalogContent
data/
Functions§
- load_
catalog - Load catalog content from
dir/catalog.json. ReturnsNoneif not found. - load_
storage - Load all table data from
dir/data/. - save_
catalog - Save catalog content to
dir/catalog.json. - save_
storage - Save all table data to
dir/data/<table_id>.bin.