Skip to content

Commit 696a82a

Browse files
committed
Adding changelog entry for including multiple queries in a single prepared statement.
1 parent 8817761 commit 696a82a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/content/changelogs/d1.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ productLink: "/d1/"
55
productArea: Developer platform
66
productAreaLink: /workers/platform/changelog/platform/
77
entries:
8+
- publish_date: "2024-11-18"
9+
title: Support for multiple queries in a single prepared statement
10+
description: |-
11+
You can now have multiple queries in a single prepared statement when using `db.prepare`. To use this feature, separate each query with a semi-colon. Prepared statements with multiple queries only returns the results of the last query, even though all queries are executed. Additionally, you can only bind parameters to the last query in the prepared statement.
12+
13+
For more information, refer to [`db.prepare` guidance](/d1/worker-api/prepare-a-statement/#guidance).
814
- publish_date: "2024-08-23"
915
title: D1 alpha databases have stopped accepting SQL queries
1016
description: |-

0 commit comments

Comments
 (0)