Bientôt disponible
amalgame-database-orm
Couche ORM cross-engine ou per-famille (à arbitrer).
Vue d'ensemble
Package à venir : couche d'abstraction au-dessus des packages de bases de données existants. Question ouverte : faut-il un ORM cross-engine (à la Diesel/SQLAlchemy) ou un par famille SQL/NoSQL ? Décision prise après stabilisation des bindings sous-jacents.
Caractéristiques
- ◐Mapping classe Amalgame ↔ table SQL
- ◐Migrations versionnées (apply + rollback)
- ◐Query builder type-safe
- ◐Cible : sqlite + postgres + mysql en v1
- ◐Statut : à arbitrer
Exemple
Exemple minimal d'utilisation — recopiable tel quel après l'install.
# Bientôt disponible # amc package add database-orm
En bref
- Licence : Apache-2.0
- Installation :
amc package add database-orm - Code source : amalgame-lang/amalgame-database-orm
- Index officiel : amalgame-lang/packages-index