dreamingearthman
Explore posts from serversCDCloudflare Developers
•Created by dreamingearthman on 5/29/2024 in #general-help
D1 - "Failed to reach database. Please try again later."
4 replies
CDCloudflare Developers
•Created by dreamingearthman on 4/7/2024 in #general-help
Using Cloudflare services like D1 without bindings in a worker
I'm trying to dynamically create D1 databases and make them accessible through a worker. Still, each database requires a manual binding to be added either in the settings or
wrangler.toml
file. Is there a way to dynamically access any D1 database in the same account as my worker without the binding?
The closest solution I have found is using Cloudflare's API to interact with the database but it's about 8x slower than using it from a worker.3 replies