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.3K stars). GitHub.Locker tracks 5 Query-builder repositories with 106.8K stars combined. The fastest-growing on October 16 was kysely, with +4 stars in a day.
Hot right now
Most stars gained in a day · Oct 16
kysely
kysely-org/kysely · ★ 14.3KKysely (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.
+2orm
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.
+2diesel
diesel-rs/diesel · ★ 14.2KDiesel 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'.
+1Dapper
DapperLib/Dapper · ★ 18.4KDapper 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.
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.3K
#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.2Kdiesel-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.2Ksqlalchemy/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