Using D1 instances dynamically

Hello,
I want to use D1 for each of our users. Is there a way to create D1 instances dynamically and use them without

Not really. The team is working on dynamic binding, but not available yet.

You would have to use the API to create the new databases then update your worker code to use it.

1 Like

I do not want to bind it to the workers, instead I want to use it dynamically. One worker which takes requests from all the users and based on the user, it updates the corresponding D1 instance. Is there a way to implement this?

Not yet. It is planned, but there is no ETA for it being released.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.