AI agents: Read [llms.txt](https://kysely.dev/llms.txt) for the documentation index and links to Markdown (.md) versions of individual pages. Read [llms-full.txt](https://kysely.dev/llms-full.txt) for the full documentation in one file.

[v0.29.8](https://github.com/kysely-org/kysely/releases/tag/v0.29.8) · [MIT](https://github.com/kysely-org/kysely/blob/master/LICENSE) · [since 2021](https://github.com/kysely-org/kysely/commit/8af0017741a355281cbe0d9d3352bffea51eb64c)

# Kysely[Type-safe](https://github.com/thetutlage/meta/discussions/8) SQL query builder

[Mature](https://github.com/kysely-org/kysely/issues/1328#issuecomment-2602609767), predictable SQL, precise types, tight feedback loops.<br />Runs everywhere: [Node](https://github.com/kysely-org/kysely/tree/master/test/node), [Deno](https://github.com/kysely-org/kysely/tree/master/test/deno), [Bun](https://github.com/kysely-org/kysely/tree/master/test/bun), [Workers](https://github.com/kysely-org/kysely/tree/master/test/cloudflare-workers), [Browsers](https://github.com/kysely-org/kysely/tree/master/test/browser).

[Get started](https://kysely.dev/docs/getting-started.md)[View on GitHub](https://github.com/kysely-org/kysely)

or audit us on [socket.dev](https://socket.dev/npm/package/kysely)

[12M+](https://npmx.dev/compare?packages=kysely,drizzle-orm,@prisma/client,typeorm,knex,sequelize,@mikro-orm/core\&facets=downloads)

[weekly npm downloads](https://npmx.dev/compare?packages=kysely,drizzle-orm,@prisma/client,typeorm,knex,sequelize,@mikro-orm/core\&facets=downloads)

[14k+](https://ossinsight.io/analyze/kysely-org/kysely)

[GitHub stars](https://ossinsight.io/analyze/kysely-org/kysely)

[0](https://www.npmjs.com/package/kysely?activeTab=dependencies)

[runtime dependencies](https://www.npmjs.com/package/kysely?activeTab=dependencies)

[150+](https://github.com/kysely-org/kysely/graphs/contributors?all=1)

[contributors](https://github.com/kysely-org/kysely/graphs/contributors?all=1)

In production atEvery logo links to public proof and is graded on age and code over words.[Best Western](https://github.com/kysely-org/kysely/issues/320#issuecomment-1441061874 "Best Western · public statement 2023-02-23")[](https://github.com/bluesky-social/atproto/blob/136e2145b893773a94e9620df37be5215cdb57a3/packages/bsky/src/data-plane/server/indexing/plugins/post.ts "Bluesky · code, pinned 2026-09-28")[](https://github.com/kysely-org/kysely/issues/320#issuecomment-3409499680 "Bold.org · public statement 2025-10-16")[](https://github.com/calcom/cal.diy/blob/54343aa685ae8f33159d2f485ec4a57bad5c574a/packages/trpc/server/routers/viewer/bookings/get.handler.ts "Cal.com · code, pinned 2026-09-20")[](https://github.com/canton-network/wallet/blob/cb5a66807198737878326174f7e1726edf5dbf3b/core/wallet-store-sql/src/store-sql.ts "Canton Network · code, pinned 2026-09-28")[](https://github.com/crbnos/carbon/blob/42ddad0c01469ad52500bf0981e5742f0b67380f/packages/database/supabase/functions/issue/index.ts "Carbon · code, pinned 2026-09-28")[](https://github.com/civitai/civitai/blob/6186c44f9178fd1a80f044e86f7b8f93233bbf31/apps/moderator/src/lib/server/user-actions.service.ts "Civitai · code, pinned 2026-09-28")[](https://github.com/colanode/colanode/blob/d649523637f0f059c936418488165d4a689da27c/packages/client/src/services/workspaces/node-service.ts "Colanode · code, pinned 2026-04-03")[Corsair.dev](https://github.com/corsairdev/corsair/blob/6b913c3b202836d4dd3c0e16f0b58b5d6d097507/packages/corsair/db/orm.ts "Corsair.dev · code, pinned 2026-09-28")[Craig](https://github.com/CraigChat/craig/blob/ad9837dd3b5d57b22bdd7527123068aaa8ad9432/packages/db/src/queries.ts "Craig · code, pinned 2026-10-25")[](https://npmx.dev/package-code/@cypress/cloud/v/0.4.0/dist/database/queries.js "Cypress · shipped code, version-pinned 2026-09-16")[](https://github.com/decocms/studio/blob/5925240329cf08825529907fe192a11cec4801a0/apps/api/src/storage/task-board.ts "Deco · code, pinned 2026-09-28")[](https://reddit.com/r/Deno/comments/1hvofl1/comment/mbbhmf1 "Deno · public statement 2025-02-06")[](https://github.com/kysely-org/kysely/issues/320#issuecomment-1693345768 "Depot · public statement, code-backed 2025-05-16")[Docmost](https://github.com/docmost/docmost/blob/7bef7b1a00d31991f009865ec14c8d06540eb1f0/apps/server/src/database/repos/page/page-permission.repo.ts "Docmost · code, pinned 2026-09-20")[](https://github.com/documenso/documenso/blob/a1d4bec1430a937395db9a4aae28979cd71c2831/packages/lib/server-only/admin/get-organisation-detailed-insights.ts "Documenso · code, pinned 2026-09-26")[](https://github.com/farcasterxyz/fname-registry/blob/255a11f2eb294ceb0353977f1a63a0e45b32d0ff/src/transfers.ts "Farcaster · code, pinned 2026-02-11")[](https://github.com/kysely-org/kysely/issues/320#issuecomment-1659420634 "Founderpath · public statement 2023-08-01")[](https://github.com/kysely-org/kysely/issues/320#issuecomment-2183966432 "Maersk · public statement 2024-06-22")[Materialize](https://github.com/MaterializeInc/materialize/blob/adb829aee5913d08eaccce2aee2e0df31c0a2dfd/console/src/api/materialize/cluster/replicaUtilizationHistory.ts "Materialize · code, pinned 2026-09-28")[](https://github.com/mozilla/fxa/blob/0d380593eb0c70ebf37d6c39495ec64f9d040b9b/libs/accounts/passkey/src/lib/passkey.repository.ts "Mozilla · code, pinned 2026-09-26")[Notesnook](https://github.com/streetwriters/notesnook/blob/bf909697d8bb2979d698334374f935a0f6161669/packages/core/src/database/sql-collection.ts "Notesnook · code, pinned 2026-09-18")[](https://www.omnea.co/blog/migrating-omnea-from-hasura-to-kysely "Omnea · public statement 2026-06-10")[](https://github.com/opencollective/opencollective-api/blob/0a59b37c8b33574ee8d9d9a586d5a19506fd5921/server/graphql/v2/query/collection/OrdersCollectionQuery.ts "Open Collective · code, pinned 2026-09-28")[](https://github.com/kysely-org/kysely/issues/320#issuecomment-3541278200 "Open.cx · public statement 2025-11-17")[](https://github.com/opensanctions/opensanctions/blob/667f62f315467eb2150cab9fca1a75185e47cb3a/ui/lib/db.ts "OpenSanctions · code, pinned 2026-09-28")[](https://github.com/ParabolInc/parabol/blob/d2dd4aaf2bfda5ed20b7e7c51aedb0c1f7c6b7e7/packages/server/postgres/select.ts "Parabol · code, pinned 2026-09-23")[Replicas](https://tryreplicas.com/blog/why-we-switched-from-sql-to-an-orm "Replicas · public statement 2026-07-28")[](https://github.com/kysely-org/kysely/issues/320#issuecomment-1993016822 "Sesame Care · public statement 2024-03-13")[](https://github.com/tailor-platform/sdk/blob/fa96d943d39d9f96c96c5b444fb6558351393762/packages/sdk/src/kysely/index.ts "Tailor · code, pinned 2026-09-28")[Teable](https://github.com/teableio/teable/blob/5ef2238883cad7c3980084de9a9031135fb9734f/packages/v2/adapter-table-repository-postgres/src/record/computed/outbox/ComputedUpdateOutbox.ts "Teable · code, pinned 2026-09-01")[](https://github.com/tldraw/tldraw/blob/fdd9b4dee0d968cb92b52db2b6e0d37ffc906d74/apps/dotcom/sync-worker/src/adminRoutes.ts "tldraw · code, pinned 2026-09-28")[+ add your team](https://github.com/kysely-org/kysely/issues/320)Built into[](https://github.com/a2aproject/a2a-js/blob/af1b5a804daabb331a4d4437ac7cef61105bf3ad/src/server/database/task/store.ts "A2A JavaScript SDK")[AirTrail](https://github.com/johanohly/AirTrail/blob/a34046640607ee72e1f9aed5538f84091b035246/src/lib/server/oauth/server.ts "AirTrail")[AWS Blocks](https://github.com/aws-devtools-labs/aws-blocks/blob/b0be240cd9a3416138b92dab6096fae4fe712fd8/packages/data-common/src/kysely-adapter.ts "AWS Blocks")[](https://github.com/better-auth/better-auth/blob/70dd1b8193ac91b4a8a5960c27b6fb39c304f8d8/packages/kysely-adapter/src/kysely-adapter.ts "Better Auth")[](https://github.com/bknd-io/bknd/blob/8c596781ff83d4dde330b97a4721ae1d458ab715/app/src/data/entities/mutation/Mutator.ts "bknd")[Conar](https://github.com/wannabespace/conar/blob/df6b212aa429c62d15611fd87bbfc63c5a20edc5/apps/app/src/entities/connection/queries/indexes/list.ts "Conar")[Domain Locker](https://github.com/lissy93/domain-locker/blob/3605ce55726fbcb560ee7d7419e71009505d5be9/src/server/db/repos/domains.ts "Domain Locker")[EmbedPDF](https://github.com/embedpdf/embed-pdf-viewer/blob/2516e2786ee894383220ecd436fbd248182ef444/cloudpdf/server/src/services/LayerService.ts "EmbedPDF")[](https://github.com/emdash-cms/emdash/blob/0e8977c221dd8e5111511eb226faa3d164c829ef/packages/core/src/database/repositories/media-usage.ts "EmDash")[](https://github.com/evoluhq/evolu/blob/36f9f81917519dfeeb12cd84e4a7e64606bc96d3/packages/common/src/local-first/Query.ts "Evolu")[Hot Updater](https://github.com/gronxb/hot-updater/blob/2d59b39a0089823ce0d9f2a705b56ffcf2a3e5ca/packages/server/src/adapters/kysely.ts "Hot Updater")[](https://github.com/immich-app/immich/blob/0733cc10ee7a0c8ebd5d37b1804b5c28944b7cdd/server/src/repositories/asset.repository.ts "Immich")[inlang](https://github.com/opral/inlang/blob/71753086db041f50af044e24ce1e8c4ea2827235/packages/sdk/src/import-export/importFiles.ts "inlang")[](https://github.com/langfuse/langfuse/blob/536c2d6905d4311cc7c2b177454a084907328c43/packages/shared/src/server/query-ast/catalog.ts "Langfuse")[](https://github.com/mikro-orm/mikro-orm/blob/fa50ca94dc0d9207dc5b413b4598cd4a30b2508a/packages/sql/package.json "MikroORM")[Open Mercato](https://github.com/open-mercato/open-mercato/blob/fefc71d09efe2aa8c732dc6fafaa084a0e0dae3c/packages/core/src/modules/query_index/lib/engine.ts "Open Mercato")[OpenClaw](https://github.com/openclaw/openclaw/blob/28340c41f8b88ae6d11488e523808315319747b5/src/config/sessions/session-accessor.sqlite-node-artifacts.ts "OpenClaw")[Studio](https://github.com/prisma/studio/blob/780cfcc8ec3660a34c2fcdf75f04134c38d95602/data/postgres-core/dml.ts "Prisma Studio")[](https://github.com/Dictionarry-Hub/profilarr/blob/7fec444c1dc660b261b72c55a685b9e8f6957ea6/src/lib/server/pcd/entities/customFormats/conditions/read.ts "Profilarr")[](https://github.com/redwoodjs/sdk/blob/ab57737152e098442f09b39064f09649ab25c8f1/addons/passkey/src/passkey/db/db.ts "RedwoodSDK")[Reflect](https://github.com/team-reflect/reflect-open/blob/daf1fc1088115f02f771fd50a1064499fb8198de/packages/core/src/indexing/queries.ts "Reflect")[](https://github.com/roostorg/coop/blob/ab18bac1f1ebd858150e8559819a94b4eb172964/server/services/manualReviewToolService/modules/QueueOperations.ts "ROOST Coop")[Sink](https://github.com/miantiao-me/Sink/blob/bafa4e1f7e3ec034929e11e5542c4c3e116d69da/server/utils/analytics-sql.ts "Sink")[StudioCMS](https://github.com/withstudiocms/studiocms/blob/e8dbd3bac3182e8d54f983761c21f66776b7eb06/packages/@withstudiocms/sdk/src/modules/auth/index.ts "StudioCMS")[Lite](https://npmx.dev/package-code/@supabase/lite/v/0.10.0/dist/index.js "Supabase Lite")[](https://github.com/liketrek/TREK/blob/d4da05bbc93bcfa9668e7a8f4e5384b788452418/server/src/db/repositories/Trips.repository.ts "TREK")[](https://github.com/truefoundry/trueforge/blob/33cbe52ff63f03306ab35bc6c8e9d78c5c7104a2/packages/trueforge/src/db/postgres/session-store/queries/turns.ts "TrueForge")[Tunarr](https://github.com/chrisbenincasa/tunarr/blob/754786b59eddeba1d79943f65920873c5226ada3/server/src/tasks/fixers/BackfillMediaSourceIdFixer.ts "Tunarr")[curl.md](https://github.com/wevm/curl.md/blob/72bab6a77fc0911caef36a86b52ca3d61b5580a8/src/api.ts "wevm curl.md")[ZenStack](https://github.com/zenstackhq/zenstack/blob/b812e1161d653fac957989c2fcba9e563a8e8f93/packages/orm/src/client/crud/operations/base.ts "ZenStack")

## Broken queries don't ship

Non-existent tables, misspelled columns, mistyped values: Kysely surfaces them as you type, as agents code, and as your schema evolves, not in production at 3am.

When a column gets renamed, the TypeScript compiler walks you through every query that needs updating.

******person.repository.ts

```
const rows = await db
  .selectFrom('person')
  .select('first_name')
  .where('person.ag', '>', 18)
  .execute()
```

Argument of type '"person.ag"' is not assignable to parameter of type 'ReferenceExpression\<DB, "person">'. ts(2345)

## Queries that compose

Extract any fragment of a query into a plain, typed function and reuse it across queries. Expressions, subqueries, and CTEs all compose the same way. It's just TypeScript.

Here, a correlated subquery returns each person's pets as typed, nested JSON. One query, one round trip, no relations DSL to learn.

******person.helpers.ts

```
function withPets(
  eb: ExpressionBuilder<DB, 'person'>,
) {
  const pets = eb
    .selectFrom('pet')
    .select(['name', 'species'])
    .whereRef('owner_id', '=', 'person.id')
  return jsonArrayFrom(pets).as('pets')
}

const person = await db
  .selectFrom('person')
  .select(['id', 'first_name'])
  .select(withPets)
  .executeTakeFirstOrThrow()
```

const person: { id: number; first\_name: string; pets: { name: string; species: 'dog' | 'cat' }\[] }

## Show this to your boss!

What Kysely optimizes for.

no compromises

### Type safety above all

Precise TypeScript result types and compile-time errors within queries. With introspection and codegen, your database is the source of types.

no magic

### What you see is what you get

A thin abstraction layer over SQL, crafted by SQL lovers for SQL lovers. Familiar naming, predictable 1:1 query compilation.

dx

### Your schema, autocompleted

Your database schema types flow through Kysely's fluent API. A typing experience second only to full-blown database IDEs.

all sql

### Freedom of expression

Spec-faithful APIs for everything production teams need, composable all the way down, escape hatches everywhere.

no dependencies

### Run anywhere

No environment-specific APIs, nothing to bundle around. Runs in Node.js, Deno, Bun, AWS Lambda, Cloudflare Workers, and browsers.

no opinions

### Opt-in your flavors

Plugins modify queries before compilation and results after execution. camelCase to snake\_case and back, for example.

ax

### Manual included

Everything is documented inline, with type-checked code examples that can't drift. Hover docs for humans, rich context for agents.

all drivers

### Query any SQL database

PostgreSQL, MySQL, MS SQL Server, SQLite, and PGlite out of the box, plus a community-driven dialect system for everything else.

## Trusted by the people who build your other tools

Unprompted, in public, on the record.

[![Peter Steinberger's avatar picture](/img/avatars/steipete.jpg)](https://x.com/steipete/status/2005692454553673900)

[Peter SteinbergerOpenClaw creator, OpenAI · Dec 2025](https://x.com/steipete/status/2005692454553673900)

[This. In one of my projects I ripped out Drizzle ORM and replaced it with Kysely. ORMs are more fore humans than agents. Why deal with leaky abstractions when I can have type-safe raw power?](https://x.com/steipete/status/2005692454553673900)

[![Tim Griesser's avatar picture](/img/avatars/tgriesser.jpg)](https://github.com/kysely-org/kysely/issues/352#issue-1612115150)

[Tim GriesserKnex.js creator, Cypress Staff Eng · Mar 2023](https://github.com/kysely-org/kysely/issues/352#issue-1612115150)

[👋 First just wanted to say this project looks awesome! Pretty close to what I wish Knex was if I started it now, with the affordances of modern TypeScript instead of 10 years ago when we were stuck in ES5 and Promises weren't even really an official language construct yet.](https://github.com/kysely-org/kysely/issues/352#issue-1612115150)

[![Julius Marminge's avatar picture](/img/avatars/julius.jpg)](https://x.com/jullerino/status/1676687249998598148)

[Julius MarmingetRPC core team, T3 Chat SWE · Jul 2023](https://x.com/jullerino/status/1676687249998598148)

[Utterly astounded by how Kysely manages to make all of this typesafe. Seems like no matter how complex you get, it can infer it correctly.](https://x.com/jullerino/status/1676687249998598148)

[![Søren Bramer Schmidt's avatar picture](/img/avatars/soren.jpg)](https://x.com/sorenbs/status/1943688341657977035)

[Søren Bramer SchmidtPrisma CEO · Jul 2025](https://x.com/sorenbs/status/1943688341657977035)

[Kysely is great!](https://x.com/sorenbs/status/1943688341657977035)

[![Niels Sandholt Busch's avatar picture](/img/avatars/niels.jpg)](https://github.com/kysely-org/kysely/issues/320#issuecomment-2183966432)

[Niels Sandholt BuschMaersk SWE · Jun 2024](https://github.com/kysely-org/kysely/issues/320#issuecomment-2183966432)

[We are using Kysely in production at Maersk inventory control!](https://github.com/kysely-org/kysely/issues/320#issuecomment-2183966432)

[![Marvin Hagemeister's avatar picture](/img/avatars/marvinh.jpg)](https://reddit.com/r/Deno/comments/1hvofl1/comment/mbbhmf1)

[Marvin HagemeisterPreact core team, Deno SWE · Jan 2025](https://reddit.com/r/Deno/comments/1hvofl1/comment/mbbhmf1)

[We're using Kysely as an ORM here at Deno. It's quite neat.](https://reddit.com/r/Deno/comments/1hvofl1/comment/mbbhmf1)

[![Sean Brydon's avatar picture](/img/avatars/sean.jpg)](https://github.com/kysely-org/kysely/issues/320#issuecomment-2990566802)

[Sean BrydonCal.com SWE · Jun 2025](https://github.com/kysely-org/kysely/issues/320#issuecomment-2990566802)

[We are using Kysely for some of our more complex queries in Cal.com where we needed more control of the sql generated.](https://github.com/kysely-org/kysely/issues/320#issuecomment-2990566802)

[![Yusuke "yusukebe" Wada's avatar picture](/img/avatars/yusuke.jpg)](https://x.com/yusukebe/status/1581775103167066112)

[Yusuke "yusukebe" WadaHono creator, Cloudflare DevRel · Oct 2022](https://x.com/yusukebe/status/1581775103167066112)

[Kysely is great. D1 will be great. This is great.](https://x.com/yusukebe/status/1581775103167066112)

[![Bereket Engida's avatar picture](/img/avatars/bekacru.jpg)](https://x.com/imbereket/status/1691066440294481920)

[Bereket Engidabetter-auth creator · Aug 2023](https://x.com/imbereket/status/1691066440294481920)

[I don't think they have similar goals from what I see. Drizzle is more dedicated into marketing and having every user possible like prisma but kysely kinda just don't care about that for most part. And in my experience prisma + kysely is better than drizzle.](https://x.com/imbereket/status/1691066440294481920)

[![Dax "thdxr" Raad's avatar picture](/img/avatars/daxraad.jpg)](https://x.com/thdxr/status/1566512393500463104)

[Dax "thdxr" RaadSST & opencode core team · Sep 2022](https://x.com/thdxr/status/1566512393500463104)

[really excited to see Kysely get more attention - been banging this drum for a while and we've integrated pretty deeply with it at SST incidentally its codebase remains the best Typescript codebase I have ever seen - worth poking around](https://x.com/thdxr/status/1566512393500463104)

[![Lee "leerob" Robinson's avatar picture](/img/avatars/leerob.jpg)](https://x.com/leeerob/status/1576929372811849730)

[Lee "leerob" RobinsonCursor VP DX, Ex-Vercel · Oct 2022](https://x.com/leeerob/status/1576929372811849730)

[Type-safe SQL queries with PlanetScale and Kysely 😍](https://x.com/leeerob/status/1576929372811849730)

[![Guðmundur Bjarni Olafsson's avatar picture](/img/avatars/gudmundur.jpg)](https://x.com/gudmundur/status/1740075197179605250)

[Guðmundur Bjarni OlafssonVercel Principal SWE, Ex-GitHub · Dec 2023](https://x.com/gudmundur/status/1740075197179605250)

[I made a strong recommendation internally for using Kysely for a greenfield service that's in the works. Looks very solid. 👌🏻](https://x.com/gudmundur/status/1740075197179605250)

[![Miroslav "Yamiteru" Vršecký's avatar picture](/img/avatars/yamiteru.jpg)](https://x.com/the_yamiteru/status/2048298019603321242)

[Miroslav "Yamiteru" VršeckýSpectoda Lead SWE & Tech Lead · Apr 2026](https://x.com/the_yamiteru/status/2048298019603321242)

[Since then I've slowly migrated over to Kysely and I couldn't be happier. Yes it's harder because it's only a query builder but a very type-safe one. You have to write migrations as TypeScript files which I absolutely love and now with the help of AIs it's a breeze.](https://x.com/the_yamiteru/status/2048298019603321242)

[![Kevin "Egoist"'s avatar picture](/img/avatars/egoist.jpg)](https://x.com/localhost_5173/status/1863495153325130032)

[Kevin "Egoist"tsup creator, ChatWise founder · Dec 2024](https://x.com/localhost_5173/status/1863495153325130032)

[Thank you kysely](https://x.com/localhost_5173/status/1863495153325130032)

[![Casey Collins's avatar picture](/img/avatars/casey.jpg)](https://x.com/itisthecase/status/2059263962315657689)

[Casey CollinsHubSpot Director of Engineering · May 2026](https://x.com/itisthecase/status/2059263962315657689)

[Its so good that I had to learn how to spell it correctly](https://x.com/itisthecase/status/2059263962315657689)

[![Gal Schlezinger's avatar picture](/img/avatars/gal.jpg)](https://x.com/galstar/status/1740049724810695135)

[Gal Schlezingerfnm creator, Vercel SWE · Dec 2023](https://x.com/galstar/status/1740049724810695135)

[I love SQL, and I love migrations, most tools don't provide good migration tools and fine grained control like Kysely which is why it's my favorite.](https://x.com/galstar/status/1740049724810695135)

[![Mathieu Acthernoene's avatar picture](/img/avatars/mathieu.jpg)](https://x.com/zoontek/status/1915730955890761827)

[Mathieu Acthernoenereact-native-edge-to-edge creator · Apr 2025](https://x.com/zoontek/status/1915730955890761827)

[Used in prod here, highly recommended](https://x.com/zoontek/status/1915730955890761827)

[![Ben Holmes's avatar picture](/img/avatars/benholmes.jpg)](https://x.com/BHolmesDev/status/1683505989465645056)

[Ben HolmesWarp SWE, Ex-Astro · Jul 2023](https://x.com/BHolmesDev/status/1683505989465645056)

[I really like Prisma for schemas and Kysely for querying. Drizzle feels... younger for schemas, but also quite nice](https://x.com/BHolmesDev/status/1683505989465645056)

[![Peter Pistorius's avatar picture](/img/avatars/peter.jpg)](https://x.com/appfactory/status/1953009209185800324)

[Peter PistoriusRedwoodJS creator, Ex-Snaplet · Aug 2025](https://x.com/appfactory/status/1953009209185800324)

[Today I'll be adding persistence to Machinen using RedwookSDK's Durable Object database integration: It uses kysely under the hood. Typesafety is directly provided by migrations.](https://x.com/appfactory/status/1953009209185800324)

[![Harminder Virk's avatar picture](/img/avatars/harminder.jpg)](https://x.com/AmanVirk1/status/1753348028139024628)

[Harminder VirkAdonisJS creator · Feb 2024](https://x.com/AmanVirk1/status/1753348028139024628)

[If not Lucid, Kysely is what I would recommend everyone use. It presents itself as a type-safe SQL query builder and delivers 100% on that promise.](https://x.com/AmanVirk1/status/1753348028139024628)

[![Catalin Pit's avatar picture](/img/avatars/catalin.jpg)](https://x.com/catalinmpit/status/1837850745242104318)

[Catalin PitDocumenso SWE · Sep 2024](https://x.com/catalinmpit/status/1837850745242104318)

[Kysely is fantastic! We use it at @documenso with Prisma.](https://x.com/catalinmpit/status/1837850745242104318)

[!["pilcrow"'s avatar picture](/img/avatars/pilcrowonpaper.jpg)](https://x.com/pilcrowonpaper/status/1675135710981165057)

["pilcrow"Lucia creator · Jul 2023](https://x.com/pilcrowonpaper/status/1675135710981165057)

[Ok, so I'm not a big fan of Drizzle. I don't like how I have to import everything when declaring schemas and queries, and I just prefer the simplicity and the overall API of Kysely.](https://x.com/pilcrowonpaper/status/1675135710981165057)

[![Theo "t3dotgg" Browne's avatar picture](/img/avatars/theo.jpg)](https://x.com/t3dotgg/status/1649539910037311495)

[Theo "t3dotgg" BrowneUploadthing creator, T3 Chat CEO · Apr 2023](https://x.com/t3dotgg/status/1649539910037311495)

[kysely is dope too. Drizzle and kysely are the frontrunners for "new db tools that really understand JS needs" atm](https://x.com/t3dotgg/status/1649539910037311495)

[![Nicholas Griffin's avatar picture](/img/avatars/nicholas.jpg)](https://x.com/ngriffin_uk/status/1599891725404676096)

[Nicholas Griffinsqs-consumer maintainer, BBC SWE · Dec 2022](https://x.com/ngriffin_uk/status/1599891725404676096)

[I don't actually like prisma that much, I prefer Kysely, not an ORM though.](https://x.com/ngriffin_uk/status/1599891725404676096)

[![Shoubhit "nexxel" Dash's avatar picture](/img/avatars/nexxel.jpg)](https://x.com/nexxeln/status/1676975946606452737)

[Shoubhit "nexxel" Dashcreate-t3-app author · Jul 2023](https://x.com/nexxeln/status/1676975946606452737)

[kysely is great btw](https://x.com/nexxeln/status/1676975946606452737)

[![Guga Guichard's avatar picture](/img/avatars/guga.jpg)](https://x.com/gugaguichard/status/1844896761468551457)

[Guga Guichardstring-ts creator, Seasoned Partner · Oct 2024](https://x.com/gugaguichard/status/1844896761468551457)

[I've been seeing a lot of discussions about ORMs vs raw SQL. What about strongly typed SQL query builders? Kysely is in the sweet spot! Best DX with total freedom I've seen in decades.](https://x.com/gugaguichard/status/1844896761468551457)

[![Johan Eliasson's avatar picture](/img/avatars/johan.jpg)](https://x.com/elitasson/status/1642090379066449920)

[Johan EliassonGazella CTO, Nhost founder · Apr 2023](https://x.com/elitasson/status/1642090379066449920)

[Instead of Prisma, I'm testing Kysely, Kysely Codegen, and Atlas. Works great.](https://x.com/elitasson/status/1642090379066449920)

[![Samuel Bodin's avatar picture](/img/avatars/samuel.jpg)](https://x.com/samdotb/status/1943598629559615668)

[Samuel BodinNango SWE, Ex-Algolia · Jul 2025](https://x.com/samdotb/status/1943598629559615668)

[Im currently in love with Kysely, it has found the perfect balance/API imo](https://x.com/samdotb/status/1943598629559615668)

[![Endel Dreyer's avatar picture](/img/avatars/endel.jpg)](https://x.com/endel/status/1927811324127400017)

[Endel DreyerColyseus creator · May 2025](https://x.com/endel/status/1927811324127400017)

[i just use postgres + kysely and old school migrations as needed](https://x.com/endel/status/1927811324127400017)

[![Alberto "gimenete" Gimeno's avatar picture](/img/avatars/alberto.jpg)](https://x.com/gimenete/status/1653121152854765569)

[Alberto "gimenete" GimenoStripe SWE, Ex-GitHub · May 2023](https://x.com/gimenete/status/1653121152854765569)

[I'm a happy Kysely user. It's great to see that the code I'm writing now can work with serverless PostgreSQL now!](https://x.com/gimenete/status/1653121152854765569)

[![R. Alex Anderson's avatar picture](/img/avatars/alexanderson.jpg)](https://x.com/ralex1993/status/1677632989260390403)

[R. Alex AndersonThorium Nova creator · Jul 2023](https://x.com/ralex1993/status/1677632989260390403)

[Shout out to Kysely for adding extensive JSDoc comments above the methods. It makes it much easier to figure out how to use it the way I want without having to dig into the docs. (though the docs are vv good too)](https://x.com/ralex1993/status/1677632989260390403)

[![Mehul Mohan's avatar picture](/img/avatars/mehul.jpg)](https://x.com/mehulmpt/status/1650480912759685120)

[Mehul MohanFermion founder · Apr 2023](https://x.com/mehulmpt/status/1650480912759685120)

[We went with query builder because we did not have more time to waste on ORMs. ORMs might be great but we have the technical capability to pull off just using a query builder. However, we type safety and sanitization for DX and security was a must - hence Kysely.](https://x.com/mehulmpt/status/1650480912759685120)

[![Sam Cook's avatar picture](/img/avatars/samcook.jpg)](https://x.com/sjc5_/status/1623210443874639873)

[Sam CookRiver creator, Gamma.io SWE · Feb 2023](https://x.com/sjc5_/status/1623210443874639873)

[Kysely is amazing.](https://x.com/sjc5_/status/1623210443874639873)

[![Alisson "thelinuxlich" C.Agiani's avatar picture](/img/avatars/sommelier.jpg)](https://x.com/solinvictvs/status/1615549659115655169)

[Alisson "thelinuxlich" C.AgianiMutano creator · Jan 2023](https://x.com/solinvictvs/status/1615549659115655169)

[Kysely is superior and with each release gets even more awesome](https://x.com/solinvictvs/status/1615549659115655169)

[![Marvin's avatar picture](/img/avatars/marvin.jpg)](https://x.com/marvr_/status/1833070144064479434)

[MarvinIndie Hacker · Sep 2024](https://x.com/marvr_/status/1833070144064479434)

[I've been saying it many times already, but it's probably one of the best additions to my tech stack. I enjoy writing SQL since I know Kysely 😆](https://x.com/marvr_/status/1833070144064479434)

[![Orta Therox's avatar picture](/img/avatars/orta.jpg)](https://discord.com/channels/890118421587578920/890118421587578925/1037692748825903114)

[Orta TheroxEx-TypeScript team · Nov 2022](https://discord.com/channels/890118421587578920/890118421587578925/1037692748825903114)

[👋 been using Kysely for a few days in Deno and Node, just wanted to say it's been going really well and it feels like a nice abstraction - kudos!](https://discord.com/channels/890118421587578920/890118421587578925/1037692748825903114)

[![Jiří "Capaj" Špác's avatar picture](/img/avatars/capaj.jpg)](https://x.com/capajj/status/1824003221397885343)

[Jiří "Capaj" ŠpácLangtail SWE · Aug 2024](https://x.com/capajj/status/1824003221397885343)

[Kysely is awesome](https://x.com/capajj/status/1824003221397885343)
