relq
v1.0.127
Published
The type-safe TypeScript ORM. PostgreSQL · MySQL · 14 dialects · Zero codegen.
Maintainers
Readme
Relq is a TypeScript ORM where the compiler does the work. Define your schema in TypeScript and every query is fully inferred — column names, return types, join shapes, condition values, even which dialect features are available. No codegen. No CLI-generated type files.
Supports every PostgreSQL and MySQL database, including Supabase, Neon, PlanetScale, AlloyDB, Aurora, CockroachDB, YugabyteDB, Citus, Timescale, Nile, AWS DSQL, and MariaDB. 14 dialects total.
Relq is serverless-ready by design. Works in Node.js, Bun, Deno, and edge runtimes. Zero external dependencies beyond the database driver.
Ecosystem
Relq ORM is the thin typed runtime layer. Relq Kit is the CLI companion for schema definition, migrations, introspection, and deployment. Relq Zod generates Zod validators from your table definitions with zero duplication.
npm install @relq/orm # runtime — queries, transactions, connections
npm install -D @relq/kit # dev — schema builders, CLI, migrations
npm install @relq/zod zod # optional — Zod validators from schemaDocumentation
Check out the full documentation on relq.io.
