Skip to content

Commit f714782

Browse files
authored
Clarifying that bindings is a spread via ... (#19157)
1 parent 01c9605 commit f714782

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/durable-objects/api/sql-storage.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Specifically for Durable Object classes with SQLite storage backend, KV operatio
5555

5656
* `query`: <Type text ='string' />
5757
* The SQL query string to be executed. `query` can contain `?` placeholders for parameter bindings. Multiple SQL statements, separated with a semicolon, can be executed in the `query`. With multiple SQL statements, any parameter bindings are applied to the last SQL statement in the `query`, and the returned cursor is only for the last SQL statement.
58-
* `bindings`: <Type text='any[]' /> <MetaInfo text='Optional' />
58+
* `...bindings`: <Type text='any[]' /> <MetaInfo text='Optional' />
5959
* Optional variable number of arguments that correspond to the `?` placeholders in `query`.
6060

6161
#### Returns

0 commit comments

Comments
 (0)