Comment by 8n4vidtmkvmk
4 months ago
Kysley does a good job of this. I haven't found it annoying.
Well... I think MySQL is a 2nd class citizen so I had to write my own schema gen but that only burned a few hours. Now it's great
4 months ago
Kysley does a good job of this. I haven't found it annoying.
Well... I think MySQL is a 2nd class citizen so I had to write my own schema gen but that only burned a few hours. Now it's great
On the other hand: https://kysely.dev/docs/recipes/excessively-deep-types
Is it though, or are you currently enjoying the same trip?
I mean, take a step back, is it worth the effort?
Kysley is worth the effort, yes.
Prisma and Drizzle...those gave me a bit too much heck. Kysley is close enough to SQL while offering some benefits, typings being one of them, but also query builders are often helpful when I need to run subtle variations of the same query, e.g. depending on the user's permissions or to add search filters.