Fix example code for D1 storage #18928
Labels
content:edit
Request for content edits
documentation
Documentation edits
product:workers
Related to Workers product
Existing documentation URL(s)
What changes are you suggesting?
The above code in the document is incorrect.
D1Database.prepare
returnsD1PreparedStatement
.But it looks as if it is returning
D1Result
.Should call
run
orall
!Additional information
No response
The text was updated successfully, but these errors were encountered: