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: 178

Dependents: 2

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0-alpha.7 2026-03-15 03:34 UTC

This package is auto-updated.

Last update: 2026-03-15 16:00:42 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.