Closed 0xQilin closed 1 year ago
Hey 👋
//PostgresDialect requires the Cursor dependency
That's wrong, it's an optional field in PostgresDialectConfig
, and only required (via runtime exceptions) if you're using .stream()
in various query builders.
pool: new Pool({ URL: process.env.DATABASE_URL as string, database: "postgres", }),
You should be passing connection strings to Pool
as follows:
pool: new Pool({
connectionString: process.env.DATABASE_URL!,
}),
Thanks so much @igalklebanov! Really appreciate the help with this. Works like a charm now. The route handler is .... insanely fast.
Hi all, am trying to get Kysely set up with supabase. I've settled for this configuring
And I'm trying to execute this specific command in an api route handler in NextJS
But i'm getting an error which states that
I've verified that this table does indeed exist by looking at the supabase portal and am not really sure what might be the issue here.