Lila Rest
Lila Rest
CDCloudflare Developers
Created by Lila Rest on 8/31/2024 in #hyperdrive
Next.js and Hyperdrive
Hey there! We moved our API to a worker, so it should work now, but we haven't implemented Hyperdrive on it it yet
14 replies
CDCloudflare Developers
Created by Lila Rest on 8/31/2024 in #hyperdrive
Next.js and Hyperdrive
Btw I’ve got a lot of errors while trying it, both in local and on edge it was raising about « cloudflare:sockets » not being available. I haven’t been able to make it work at all. Any example of implementation?
14 replies
CDCloudflare Developers
Created by Lila Rest on 8/31/2024 in #hyperdrive
Next.js and Hyperdrive
I did read it earlier today, my main issue right now is to connect to the Hyperdrive endpoint with Prisma on Cloudflare Pages. Do you know of any resource about that?
14 replies
CDCloudflare Developers
Created by Lila Rest on 8/31/2024 in #hyperdrive
Next.js and Hyperdrive
Does Postgres.js integrate with Prisma?
14 replies
CDCloudflare Developers
Created by Lila Rest on 8/31/2024 in #hyperdrive
Next.js and Hyperdrive
Hey @Matt! I meant using the Neon serverless driver to query the Hyperdrive endpoint
14 replies
CDCloudflare Developers
Created by Lila Rest on 8/31/2024 in #hyperdrive
Next.js and Hyperdrive
They claim to be "A drop-in replacement for node-postgres, aka pg (on which it's based)"
14 replies
CDCloudflare Developers
Created by Lila Rest on 8/31/2024 in #hyperdrive
Next.js and Hyperdrive
I was using it before wrapping our DB into Hyperdrive
14 replies
CDCloudflare Developers
Created by Lila Rest on 8/31/2024 in #hyperdrive
Next.js and Hyperdrive
14 replies
CDCloudflare Developers
Created by Lila Rest on 8/31/2024 in #hyperdrive
Next.js and Hyperdrive
I managed to obtain the HYPERDRIVE env var from my pages, and I didn't yet tried to query it with Prisma. Don't you think it could work with the Neon serverless driver for Prisma (instead of Postgres.js)?
14 replies