From 4665d2930296d7fe256db2187034f31800828896 Mon Sep 17 00:00:00 2001 From: Thomas Gauvin <35609369+thomasgauvin@users.noreply.github.com> Date: Mon, 10 Mar 2025 19:36:56 -0400 Subject: [PATCH] Update local-development.mdx --- src/content/docs/workers/local-development.mdx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/content/docs/workers/local-development.mdx b/src/content/docs/workers/local-development.mdx index 92ba77458c4613a..5403c66c1bb2dd1 100644 --- a/src/content/docs/workers/local-development.mdx +++ b/src/content/docs/workers/local-development.mdx @@ -40,7 +40,7 @@ npx wrangler dev | D1 | ✅ | ✅ | | Durable Objects | ✅ | ✅ | | Email Bindings | ❌ | ✅ | -| Hyperdrive | ✅ | ✅ | +| Hyperdrive | ✅[^2] | ✅ | | Images | ✅ | ✅ | | KV | ✅ | ✅ | | mTLS | ❌ | ✅ | @@ -48,14 +48,16 @@ npx wrangler dev | R2 | ✅ | ✅ | | Rate Limiting | ✅ | ✅ | | Service Bindings (multiple workers) | ✅ | ✅ | -| Vectorize | ✅[^2] | ✅ | +| Vectorize | ✅[^3] | ✅ | | Workflows | ✅ | ❌ | With any bindings that are not supported locally, you will need to use the [`--remote` command](#develop-using-remote-resources-and-bindings) in wrangler, such as `wrangler dev --remote`. [^1]: Using Workers AI always accesses your Cloudflare account in order to run AI models and will incur usage charges even in local development. -[^2]: Using Vectorize always accesses your Cloudflare account to run queries, and will incur usage charges even in local development. +[^2]: Using Hyperdrive with local development allows you to connect to a local database (running on `localhost`) but you cannot connect to a remote database. To connect to a remote database, use remote development. + +[^3]: Using Vectorize always accesses your Cloudflare account to run queries, and will incur usage charges even in local development. ## Work with local data