talira

Compare

KyselyPrisma ORMReyloKnex.js
What it isType-safe SQL query builder for TypeScriptOne schema. Every query type-safe.Import .sql files into TypeScript with types inferred from your live database, plus SQL-first migrationsSQL query builder for Node.js with migrations and seeds
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.720.770.650.47
Stars1438647712167820334
Last commit2026-11-282026-11-242026-11-242026-06-26
LicenceMITApache-2.0MITMIT
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins—Yes——
MCP server————
CompanyKyselyPrismaVariadicKnex
Features
  • Compile-time checks that queries only use visible tables and columns
  • Result types inferred from selects, joins, subqueries and with clauses
  • Dialects for PostgreSQL, MySQL, SQL Server, SQLite and PGlite
  • Runs on Node.js, Deno, Bun, Cloudflare Workers and browsers
  • sql template tag and dynamic module for queries that can't be typed
  • declarative schema file defining models, fields and relations
  • generated type-safe client with autocomplete for every model
  • migrations generated from schema changes, refusing destructive changes that would drop data
  • Prisma 7: PostgreSQL, MySQL, SQLite, MongoDB, SQL Server and CockroachDB providers
  • Prisma 8 (release candidate): native TypeScript rewrite with a public extension interface
  • official extensions for pgvector, PostGIS and ParadeDB (experimental)
  • npm create prisma scaffolds Next.js, Hono, Nuxt, Astro, NestJS, SvelteKit, TanStack Start or Elysia apps
  • agent skills (SKILL.md) installed for Claude Code, Cursor, Copilot Agent and Devin
  • All 9 features
  • import .sql files into TypeScript with inferred parameter and row types
  • types come from the live database's own analysis of each query
  • Postgres, MySQL and SQLite
  • schema modeled in schema.sql, with generated or hand-written migrations (Reylo Migrate)
  • deploy guides for Neon, Supabase, PlanetScale, Cloudflare D1 and Turso
  • Query builder for PostgreSQL, MySQL, MariaDB, CockroachDB, Redshift, SQLite3, Oracle and SQL Server
  • Schema builder
  • Migrations and seeds with a CLI
  • Transactions and connection pooling
  • Streaming queries
  • Promise and callback APIs
Limitations
    • Doesn't fully support SQLite, MySQL or MariaDB in Prisma 8 yet: they're proofs of concept, with PostgreSQL and MongoDB first-class