Is it possible to create a D1 database with the API and access it through a worker binding? What is

Is it possible to create a D1 database with the API and access it through a worker binding? What is the workflow for dynamically creating a database per user and accessing it in a worker?
Was this page helpful?