A partial Drizzle adapter #328
AlexErrant
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I started to write a Drizzle adapter but eventually realized that (for me) it offered no benefits over Kysely, so I went back to using the excellent https://github.com/Azarattum/CRStore (in particular, https://github.com/Azarattum/CRStore/blob/main/src/lib/database/dialect.ts) There's also https://github.com/subframe7536/kysely-sqlite-tools, which I haven't looked closely at yet.
Here's as far as I got before stopping, in case it helps anyone who prefers Drizzle > Kysely:
(If you do prefer Drizzle > Kysely, please let me know why! IMO Kysely has better syntax and more features, especially with
ParseJSONResultsPlugin
and its ability to return nested objects/arrays).Beta Was this translation helpful? Give feedback.
All reactions