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.2 Replies
Not yet, unfortunately. There has been talk about it, so it might be released in the future
I see, thanks!