How can I access my d1 database in next on pages edge LOCALLY?

I have it working fine during deployment and build, but I can't seem to access it locally and there are no docs on it.
7 Replies
switz
switz2w ago
http://localhost:8788/ returns 404 on npx wrangler pages dev if I run next dev in another terminal it cant access the d1 database
switz
switz2w ago
No description
switz
switz2w ago
No description
yuripave
yuripave7d ago
Cloudflare Docs
Get started | Cloudflare Pages docs
Deploy a full-stack Next.js app to Cloudflare Pages
switz
switz7d ago
yes
Hello, I’m Allie!
Have you created the tables/seeded the local database?
yuripave
yuripave7d ago
Guess easier you share your wrangler.toml on how you define your D1 binding NEXTRA
Want results from more Discord servers?
Add your server