We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 408c373 commit ae987c3Copy full SHA for ae987c3
src/content/docs/d1/best-practices/retry-queries.mdx
@@ -25,7 +25,7 @@ You can use libraries abstracting that already like [`@cloudflare/actors`](https
25
import { tryWhile } from "@cloudflare/actors";
26
27
function queryD1Example(d1: D1Database, sql: string) {
28
- return tryWhile(async () => {
+ return await tryWhile(async () => {
29
return await d1.prepare(sql).run();
30
}, shouldRetry);
31
}
0 commit comments