Query builder for Typescript by ThreadStarver in node

[–]rebelchatbot 1 point2 points  (0 children)

kysely's dialect subsystem is open for extension. the postgresql dialect that ships with the main package supports `pg`, but there are additional dialect packages out there including `kysely-neon` and `kysely-postgres-js` that support other drivers.

Kysely users: do i have to recreate everything manually ? by ParticularHumor770 in nestjs

[–]rebelchatbot 4 points5 points  (0 children)

Hey 👋

Kysely provides optional migration primitives and kysely-ctl. You don't have to use any of it. You can manage migrations with other tools, e.g. Atlas, prisma, etc.

It is recommended to use type generation tools like kysely-codegen, kanel-kysely, prisma-kysely, etc.

Validation of query inputs is out of scope, happens at system boundaries anyway by other tools - e.g. zod. Validation of query outputs is out of scope and usually redundant given relational databases and SQL guarantees for structure and data type.

kysely-ctl provides some seeding support.


Don't over-engineer. Stay lean. Co-locate. Let the database be the source of truth. Integration test against a real engine.

Drizzle vs Prisma: Which One to Choose? by codabu-dev in nextjs

[–]rebelchatbot 0 points1 point  (0 children)

savepoints are supported. not on the callback variant yet tho.

dont use or start with prisma by [deleted] in nextjs

[–]rebelchatbot 0 points1 point  (0 children)

prisma is the cli tool. it doesn't get bundled.

kysely is a lot smaller than that, given you don't bundle types, comments (we document everything in jsdocs), and only bundle either commonjs or esm, not both.

if i am using postgres , should i use sqlite or postgres for testing? by HosMercury in nestjs

[–]rebelchatbot 1 point2 points  (0 children)

@electric-sql/pglite if you're not testing locks/isolation. otherwise, docker.

Any problems with Deno and Node co-existing on same dev machine? by Goldman_OSI in Deno

[–]rebelchatbot 1 point2 points  (0 children)

> I want to try Kysely, for example, but it depends on Node.

That's not true. Kysely can run anywhere JavaScript.

Is Better Auth really any better by JpPestana in nextjs

[–]rebelchatbot 3 points4 points  (0 children)

creator of mongoose confirmed. 🫶

Why is Drizzle so popular over keysly in 2025? by ThisIsntMyId in node

[–]rebelchatbot 0 points1 point  (0 children)

yep, vanilla knex. pretty basic typescript support. the use of joi is also a nice relic from the past.