Coming soon

amalgame-database-orm

Cross-engine or per-family ORM (under review).

amc package add database-orm GitHub ↗ ← Back to the ecosystem

Overview

Upcoming package: abstraction layer on top of the existing database packages. Open question: cross-engine ORM (à la Diesel/SQLAlchemy) or one per SQL/NoSQL family? Decision deferred until underlying bindings stabilize.

Features

  • Amalgame class ↔ SQL table mapping
  • Versioned migrations (apply + rollback)
  • Type-safe query builder
  • Target: sqlite + postgres + mysql in v1
  • Status: under review

Example

Minimal usage example — copy-paste runnable after install.

# Coming soon
# amc package add database-orm

At a glance

Related packages