Topics / #query-builder
Query-builder projects on GitHub
Type-safe SQL query builder libraries and ORMs.
As of , the most-starred Query-builder projects on GitHub are orm (47.7K stars), Dapper (18.4K stars) and kysely (14.4K stars). GitHub.Locker tracks 5 Query-builder repositories with 107K stars combined. The fastest-growing on November 30 was orm, with +5 stars in a day.
Hot right now
Most stars gained in a day · Nov 30
+5orm
prisma/orm · ★ 47.7KPrisma ORM is a next-generation ORM for Node.js and TypeScript, supporting PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB. This repo currently showcases 'Prisma Next', a TypeScript rewrite designed to be extensible, composable, and AI-agent friendly.
+4diesel
diesel-rs/diesel · ★ 14.3KDiesel is a safe, extensible ORM and query builder for Rust. It removes database boilerplate and runtime errors without sacrificing performance, using Rust's type system so queries 'feel like Rust'.
kysely
kysely-org/kysely · ★ 14.4KKysely (pronounced 'Key-Seh-Lee') is a type-safe, autocompletion-friendly SQL query builder for TypeScript, inspired by Knex.js: it checks your queries at compile time and types the results.
+1sqlalchemy
sqlalchemy/sqlalchemy · ★ 12.3KSQLAlchemy is the Python SQL toolkit and Object Relational Mapper (ORM) that gives application developers the full power and flexibility of SQL while also allowing object-oriented domain models to be mapped transparently to relational tables.
The all-time top
5 projects · by stars
- 47.7K
#1 · prisma/ormorm
Prisma ORM is a next-generation ORM for Node.js and TypeScript, supporting PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB. This repo currently showcases 'Prisma Next', a TypeScript rewrite designed to be extensible, composable, and AI-agent friendly.
- 18.4K
#2 · DapperLib/DapperDapper
Dapper is a simple object mapper for .NET - a NuGet library that adds extension methods to your ADO.NET connections, so you run SQL and get rows mapped straight to objects. It was originally built for and by Stack Overflow.
- 14.4K
#3 · kysely-org/kysely
kysely
Kysely (pronounced 'Key-Seh-Lee') is a type-safe, autocompletion-friendly SQL query builder for TypeScript, inspired by Knex.js: it checks your queries at compile time and types the results.
- 4

diesel
14.3Kdiesel-rs/diesel · RustDiesel is a safe, extensible ORM and query builder for Rust. It removes database boilerplate and runtime errors without sacrificing performance, using Rust's type system so queries 'feel like Rust'.
- 5

sqlalchemy
12.3Ksqlalchemy/sqlalchemy · PythonSQLAlchemy is the Python SQL toolkit and Object Relational Mapper (ORM) that gives application developers the full power and flexibility of SQL while also allowing object-oriented domain models to be mapped transparently to relational tables.
Related topics
Often tagged together