diff --git a/src/content/docs/batch-api.mdx b/src/content/docs/batch-api.mdx index 703a25a3..e6702af6 100644 --- a/src/content/docs/batch-api.mdx +++ b/src/content/docs/batch-api.mdx @@ -11,7 +11,7 @@ The transaction is controlled by the libSQL backend. If all of the statements ar the transaction is committed. If any of the statements fail, the entire transaction is rolled back and no changes are made. **D1 Batch API explanation**: -_[source](https://developers.cloudflare.com/d1/platform/client-api/#batch-statements)_ +_[source](https://developers.cloudflare.com/d1/worker-api/d1-database/#batch)_ > Batching sends multiple SQL statements inside a single call to the database. This can have a huge performance impact as it reduces latency from network round trips to D1. @@ -125,4 +125,4 @@ db.select()..., db.update()..., db.delete()..., db.insert()..., -``` \ No newline at end of file +```