-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Closed
Labels
content:editRequest for content editsRequest for content editsdocumentationDocumentation editsDocumentation editsproduct:d1D1: https://developers.cloudflare.com/d1/D1: https://developers.cloudflare.com/d1/
Description
Which Cloudflare product does this pertain to?
D1
Existing documentation URL(s)
- https://developers.cloudflare.com/d1/examples/d1-and-sveltekit/
- https://developers.cloudflare.com/pages/functions/bindings/#d1-databases
What changes are you suggesting?
Provide a working example. The deployment works fine, but I can't get the local database binding to be accessible on platform.env.DB. Especially, the --d1 NORTHWIND_DB=xxxx-xxxx-xxxx-xxxx-xxxx that does not appear in the command line doc if I am not mistaken.
How the D1 database is deployed locally should be clarified, the differences between wrangler and wrangler pages in local, what DB is used (confusing flags with opposite defaults, sometimes --remote, sometimes --local).
Additional information
No response
Maddy-Cloudflare
Metadata
Metadata
Assignees
Labels
content:editRequest for content editsRequest for content editsdocumentationDocumentation editsDocumentation editsproduct:d1D1: https://developers.cloudflare.com/d1/D1: https://developers.cloudflare.com/d1/