




D1Database in the D1 docs: https://developers.cloudflare.com/d1/get-started/#write-queries-within-your-workerwrangler.toml does not apply to a Pages project per the Qwik framework guide I shared with you. That's why DB doesn't appear. You're looking at both a Worker project and a separate Pages project.






wrangler pages dev you need to pass the binding



D1DatabaseDB