I had a look at the Workers API and you are right is looks tricky to say the least. Provisioning a d
I had a look at the Workers API and you are right is looks tricky to say the least. Provisioning a database per client for a SaaS app automatically and tying it to a worker via various API calls seems fragile. I’d love to use D1 for my needs but Turso seems much easier for this scenario at the moment. I had a think about how I could do this without API calls and the only way I could think of was to create all the databases up front (100’s 1000’s?), bind them to a worker, and then control assignment via my app. Not the most elegant solution.