Strata ORM
Strata ORM is a type-safe query layer for PostgreSQL and SQLite. You describe your data once, in a contract, and every query you write is checked against it.
The data contract
Where models, fields and relations are declared
Reading data
Fetch, filter, select, sort and paginate
Writing data
Create, update, upsert and delete
Transactions
Group writes so they land together
Supported databases
Database | Versions | Notes |
|---|---|---|
PostgreSQL | 13 – 17 | Full feature set, including JSON filters |
SQLite | 3.38+ | No |
Strata Postgres | current | Pooled connections and branching built in |
Upgrading from version 4
Version 5 renames findMany to .all() and moves filters into a chained .where(). The old names still work and log a deprecation notice once per process.
Run npx strata upgrade --dry-run to see every call site the codemod would change before it touches a file.
Updated
Was this page helpful?