Library adoption
Open-source Kysely
No separate query-builder software license fee; all database and operating costs are external to the library.3
Type-safe SQL query builder
An open-source TypeScript SQL query builder that infers table, column, alias, and result types while retaining SQL-shaped control.
Choose Kysely when the team wants compile-time query and result typing while keeping SQL structure and database behavior visible. Prefer an integrated ORM when generated models, relation workflows, or schema ownership would remove more work.1
Whether a thin compile-time typed SQL builder is sufficient without adopting a broader ORM model and schema workflow.
Kysely is a query builder with dialect and migration APIs. It is not a database, hosted service, entity mapper, schema source of truth, or complete application data platform.12
For: TypeScript teams that want typed SQL composition and are willing to own schema types, migrations, dialects, and database behavior
Kysely is open-source under the MIT license with no separate software license fee. Database, dialect driver, type generation, migration execution, hosting, and engineering costs remain with the application.3
Library adoption
No separate query-builder software license fee; all database and operating costs are external to the library.3
Kysely · Accessed Official
Kysely · Accessed Official
Kysely · Accessed Official
Drizzle Team · Accessed Official
Prisma · Accessed Official
TypeORM · Accessed Official