@fougere/adapter-sql
v0.6.0-alpha.0
Published
Entity → SQL tables through Kysely (SQLite, PostgreSQL, MySQL, SQL Server).
Maintainers
Readme
@fougere/adapter-sql
Entity → SQL tables, through Kysely The SQL realization of the schema: the tables, the additive migration and the per-entity scoped storage. Four dialects — SQLite, PostgreSQL, MySQL, SQL Server.
Validation judges, storage realizes: this storage decides nothing of its own — it applies
the lifecycle rules on the way in. The shape is still held on this path, twice: the
DDL emits a CHECK for oneOf, min and max, and core's StorageGuard judges every
write through the port. storage.client meets neither.
Installation
pnpm add @fougere/adapter-sqlPart of Fougere — one schema, a gradient from monolith to distributed, the same user code. Reference documentation: the site (en/fr).
