Yes you can, this is how I do it: I create the database via the API, i use the API to also create th

Yes you can, this is how I do it: I create the database via the API, i use the API to also create the table / schema and then use the API to modify the worker settings to add the D1 binding. The last bit is the tricky bit, even from when I've done it the documentation / endpoints have changed.
Was this page helpful?