Skip to main content

EntityTS

Enterprise TypeScript ORM inspired by EF Core & LINQ

Get Started →API Reference
⚡

EF Core & LINQ Fluent API

Intuitive DbContext & DbSet patterns with fluent type-safe query chaining, typed selectors, and dynamic filters.

🌐

Multi-Database Dialect Support

First-class support for PostgreSQL (Neon/CockroachDB), SQLite (LibSQL/Turso), MySQL (PlanetScale), and SQL Server.

⚙️

First-Class Stored Procedures

Type-safe stored procedure and user-defined function execution with input/output parameters, multiple result sets, and table types.

🔒

Enterprise Concurrency & Locking

Built-in optimistic concurrency via @Version/@ConcurrencyCheck and pessimistic row-level locking (FOR UPDATE, UPDLOCK).

🧠

AI Vector Search & Embeddings

Native pgvector embeddings with cosine, euclidean, and inner product distance indexing and nearest-neighbor search.

🛡️

Reliability: Idempotency & Outbox

Transactional outbox pattern and distributed idempotency keys for rock-solid microservices and event-driven architectures.

Quick Installation

npm install entityts reflect-metadata