Drizzle TeamDT
Drizzle Team15mo ago
1 reply
cmrtk

Driver error callback

I'm trying to upgrade to 0.3.4 with the new drizzle client and am wondering how you are supposed to access driver callback events like 'error' or 'end'. My current code looks like this:
const pg = new pg.Client(...);
const db = drizzle(pg, { schema });
pg.on("error", () => ...)
Was this page helpful?