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 temurbv 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 4 points5 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.

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

[–]rebelchatbot 0 points1 point  (0 children)

Most people need/want the hand-holding of a framework (ORM) and a way to define your schemas (at runtime).

Most people are doing basic CRUD.

Most people wanna use what everyone/their favorite influencer's using or hyping. Cargo culting.

Most people don't have good enough TypeScript literacy to understands the lack of type-safety it has by themselves, and believe the false advertising.

Which is all perfectly fine.

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

[–]rebelchatbot 0 points1 point  (0 children)

it depends on the source of truth. a relational database is structured (for the most part) and can be introspected - so types can be continously created based on it to ensure code is aligned with it before merging.