Running local database with edge runtime on NextJS
Hi, I've been trying to run drizzle on /pages/api route (edge runtime) in NextJS but I can't get it to work locally. It feels like I've tried every combination of drivers so far but they either refuse to connect (neon and vercel/postgres for example does not like my connection string), complain about node modules or just doesn't seem to be able to fetch anything (seemingly connects but awaited queries do no not return). I have a postgres database that works with the node-postgres driver for trpc endpoints.
Any help is appreciated
![No description](https://cdn.answeroverflow.com/1146725622421389313/Screenshot_2023-08-31_at_10.34.11.png)
0 Replies