waaseyaa/entity-storage

Pluggable entity persistence. v0.1.0: SQL storage behind clean interfaces.

Maintainers

Package info

github.com/waaseyaa/entity-storage

pkg:composer/waaseyaa/entity-storage

Statistics

Installs: 4 677

Dependents: 2

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0-alpha.90 2026-03-29 20:12 UTC

README

Layer 1 — Core Data

SQL and in-memory entity storage for Waaseyaa applications.

SqlEntityStorage persists entities to a relational database using a _data JSON blob for non-schema columns. SqlSchemaHandler generates and synchronizes column definitions. InMemoryEntityStorage (in waaseyaa/api/tests/Fixtures/) provides a fast in-memory store for unit tests. Entity values are split on write and merged on read via splitForStorage() / mapRowToEntity().

Key classes: SqlEntityStorage, SqlSchemaHandler, EntityStorageInterface.