Skip to content

Commit

Permalink
Fix .raw() not executing statement in D1 (cloudflare#474)
Browse files Browse the repository at this point in the history
* Update statement.ts

* Create silent-windows-teach.md

* Delete silent-windows-teach.md

Co-authored-by: MrBBot <[email protected]>
  • Loading branch information
repository and mrbbot authored Jan 18, 2023
1 parent 5f04d4f commit a9d4565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/d1/src/statement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ export class Statement {
}

#raw(statementWithBindings: SqliteStatement) {
return statementWithBindings.raw() as any;
return statementWithBindings.raw().all();
}
}

0 comments on commit a9d4565

Please sign in to comment.