Skip to content

Commit 8bf34ac

Browse files
authored
Merge pull request #471 from at15/patch-1
Update link to d1 batch API
2 parents 01b0205 + b8a9846 commit 8bf34ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/batch-api.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The transaction is controlled by the libSQL backend. If all of the statements ar
1111
the transaction is committed. If any of the statements fail, the entire transaction is rolled back and no changes are made.
1212

1313
**D1 Batch API explanation**:
14-
_[source](https://developers.cloudflare.com/d1/platform/client-api/#batch-statements)_
14+
_[source](https://developers.cloudflare.com/d1/worker-api/d1-database/#batch)_
1515

1616
> Batching sends multiple SQL statements inside a single call to the database.
1717
This can have a huge performance impact as it reduces latency from network round trips to D1.
@@ -125,4 +125,4 @@ db.select()...,
125125
db.update()...,
126126
db.delete()...,
127127
db.insert()...,
128-
```
128+
```

0 commit comments

Comments
 (0)