Skip to content

UQL

The best ORM for TypeScript and modern JavaScript. Fast, safe, and easy.
Terminal window
npm install uql-orm

FeatureUQLOthers
SyntaxSerializable JSON: Pure data, perfect for APIs/Websockets.Method-Chaining: Hard to transport over the wire.
SimplicityPure TypeScript: No codegen, no custom DSL, no build-step friction.High: Requires codegen, proprietary DSLs, or extra build steps.
APIUnified & Intuitive: Same syntax for SQL & NoSQL.Fragmented: SQL and Mongo feel like different worlds.
IntelligenceDeep Auto-Completion: IDE-powered inference for relations & operators at any depth.Surface-level: Often loses types in complex joins.
EfficiencySticky Connections: Measured at 3.9M+ ops/s.Heavy: Often generates “SQL Soup” that’s hard to debug.

See also: Full 2026 comparison → · In Search of the Fastest TypeScript ORM → · Benchmark Repo (GitHub) →


UQL shines when you need modern TypeScript ergonomics with hard performance guarantees:

  • AI & RAG applications: Native vector search, distance projection, and JSON‑native queries make it easy to build semantic search and retrieval‑augmented generation pipelines.
  • Multi-tenant SaaS & platforms: Unified schema and query model across PostgreSQL, MySQL/MariaDB, SQLite, LibSQL, Neon, D1, MongoDB, and Bun Native SQL with entity‑first migrations.
  • High-concurrency APIs: Zero‑allocation query engine, sticky connections, and first‑class streaming support keep latency and resource usage predictable.

If you want Prisma‑level ergonomics with query‑builder performance, UQL is designed for you.


  • Quick Start — Go from zero to your first UQL query in under 3 minutes.
  • Switching to UQL — Migration guide for Prisma, Drizzle, and TypeORM users.

🤍 Open-source · Production-trusted by Variability.ai — AI meeting and video intelligence platform.