Skip to content

UQL - The smartest ORM for TypeScript and modern JavaScript

The smartest ORM for TypeScript and modern JavaScript designed to be fast, safe, and easy to integrate into any application.

Full Type Safety

Deeply nested auto-completion for your queries and entity definitions. Stop catching bugs in production.

Unified API

First-class support for PostgreSQL, MySQL, MariaDB, SQLite, LibSQL, Neon, Cloudflare D1, and MongoDB with a consistent API.

Performant by Design

Zero-overhead query generation, 64-bit primary keys, and smart connection pooling for high-concurrency environments.

Universal Compatibility

Engineered for the ESM era. Works out of the box with Node.js, Bun, Deno, and even the Browser.



FeatureUQLTraditional ORMs
APIUnified & Intuitive: Same syntax for SQL & NoSQL.Fragmented: SQL and Mongo feel like different worlds.
SafetyDeep Type-Safety: Validates relations & operators at any depth.Surface-level: Often loses types in complex joins.
SyntaxSerializable JSON: Pure data, perfect for APIs/Websockets.Method-Chaining: Hard to transport over the wire.
EfficiencySticky Connections: Minimal overhead, human-readable SQL.Heavy: Often generates “SQL Soup” that’s hard to debug.

Entity-First Migrations

Define your schema in TypeScript and let UQL generate migrations automatically. Safe by default — only adds, never drops.

Semantic Type System

Use abstract types like 'uuid', 'json', 'vector' that map correctly across all databases without dialect-specific code.

Thread-Safe Transactions

Centralized serialization engine guarantees race-condition-free operations across all drivers.

Professional Logging

Built-in slow-query detection, colored output, and customizable log levels for production monitoring.


UQL is an open-source project driven by the community and proudly sponsored by Variability.ai.

“Intelligence in Every Fluctuation”

Their support helps us maintain and evolve the “Smartest ORM” for developers everywhere. Thank you for being part of our journey!