K
Kysely13mo ago
oof2win2

Using a custom HTTP driver for Kysely

Hi. I want to use neondb as my database. The issue is that I can't create a PostgresDialect class instance from the default provided pool, as that uses websockets - which is not what I want. Is there a way to tell Kysely to use HTTP connections (such as with kysely-planetscale), or do I need to make the driver myself?
Solution:
Hey 👋 Have you tried the kysely-neon community dialect?...
Jump to solution
3 Replies
oof2win2
oof2win2OP13mo ago
Per se, by providing a function that executes SQL
Solution
Igal (mobile)
Igal (mobile)13mo ago
Hey 👋 Have you tried the kysely-neon community dialect?
oof2win2
oof2win2OP13mo ago
haven't tried that, looks like it fits! was excited about writing my own tbh though 🙁 thanks a lot though!
Want results from more Discord servers?
Add your server