Re:Taking the Drizzle Challenge
by AspireOne on Saturday August 10, 2024 @09:51PM
(#41213485)
Depends on the environment - in rust for example, you can get by with raw sql using sqlx and it'll have typed queries and outputs. In typescript, that's just not possible, so an ORM as a thin layer above the SQL is a great middleground - you'll get type safe everything, including some basic raw sql queries. I'm using Kysely for a production app (which for example exposes a "sql" macro which can be used to write simple raw typesafe queries), and it's miraculous how far they have pushed the typescript engine. I have no complains at all.
[ Parent
| on HN ]
There are no comments on this comment yet.