I think you're after batch? https://developers.cloudflare.com/d1/worker-api/d1-database/#batch

Cloudflare Docs
To interact with your D1 database from your Worker, you need to access it through the environment bindings provided to the Worker (env).
Was this page helpful?