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?3 Replies
Per se, by providing a function that executes SQL
Solution
Hey 👋
Have you tried the kysely-neon community dialect?
haven't tried that, looks like it fits! was excited about writing my own tbh though 🙁
thanks a lot though!