From c2a2f39012462e23feb787cc89fd1fdb8f7ad886 Mon Sep 17 00:00:00 2001 From: repository <41586666+repository@users.noreply.github.com> Date: Sat, 14 Jan 2023 20:58:10 -0800 Subject: [PATCH 1/3] Update statement.ts --- packages/d1/src/statement.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/d1/src/statement.ts b/packages/d1/src/statement.ts index 3d7d3a3a7..a88c3151a 100644 --- a/packages/d1/src/statement.ts +++ b/packages/d1/src/statement.ts @@ -130,6 +130,6 @@ export class Statement { } #raw(statementWithBindings: SqliteStatement) { - return statementWithBindings.raw() as any; + return statementWithBindings.raw().all(); } } From 8c9e96fdad12d21d5126b56b31712ac1068b50e5 Mon Sep 17 00:00:00 2001 From: repository <41586666+repository@users.noreply.github.com> Date: Sat, 14 Jan 2023 21:18:46 -0800 Subject: [PATCH 2/3] Create silent-windows-teach.md --- .changeset/silent-windows-teach.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/silent-windows-teach.md diff --git a/.changeset/silent-windows-teach.md b/.changeset/silent-windows-teach.md new file mode 100644 index 000000000..a5baef26d --- /dev/null +++ b/.changeset/silent-windows-teach.md @@ -0,0 +1,5 @@ +--- +"@miniflare/d1": patch +--- + +fix .raw() returning statement instead of executing w/ raw mode From f841ae3c55b81c7403c01b5d5d81115ff4d78466 Mon Sep 17 00:00:00 2001 From: MrBBot Date: Wed, 18 Jan 2023 14:52:04 +0000 Subject: [PATCH 3/3] Delete silent-windows-teach.md --- .changeset/silent-windows-teach.md | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .changeset/silent-windows-teach.md diff --git a/.changeset/silent-windows-teach.md b/.changeset/silent-windows-teach.md deleted file mode 100644 index a5baef26d..000000000 --- a/.changeset/silent-windows-teach.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@miniflare/d1": patch ---- - -fix .raw() returning statement instead of executing w/ raw mode