Skip to content

Commit 6128149

Browse files
committed
KV -> Workers KV inside links.
1 parent 30f6c8c commit 6128149

File tree

16 files changed

+27
-27
lines changed

16 files changed

+27
-27
lines changed

src/content/apps/index.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ entries:
200200
name: Queues Web Crawler
201201
description: An example use-case for Queues, a web crawler built on Browser Rendering and Puppeteer. The crawler finds the number of links to Cloudflare.com on the site, and archives a screenshot to Workers KV.
202202
tags: []
203-
products: [KV, Browser Rendering, Workers, Pages, Queues]
203+
products: [Workers KV, Browser Rendering, Workers, Pages, Queues]
204204
languages: [TypeScript]
205205
cloudflare: true
206206
updated: 2023-06-15

src/content/docs/kv/api/delete-key-value-pairs.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sidebar:
88

99
import { GlossaryTooltip } from "~/components"
1010

11-
To delete a key-value pair, call the `delete()` method of the [KV binding](/kv/concepts/kv-bindings/) on any [KV namespace](/kv/concepts/kv-namespaces/) you have bound to your Worker code:
11+
To delete a key-value pair, call the `delete()` method of the [Workers KV binding](/kv/concepts/kv-bindings/) on any [Workers KV namespace](/kv/concepts/kv-namespaces/) you have bound to your Worker code:
1212

1313
```js
1414
env.NAMESPACE.delete(key);
@@ -43,7 +43,7 @@ The following method is provided to delete from Workers KV:
4343

4444
### `delete()` method
4545

46-
To delete a key-value pair, call the `delete()` method of the [KV binding](/kv/concepts/kv-bindings/) on any Workers KV namespace you have bound to your Worker code:
46+
To delete a key-value pair, call the `delete()` method of the [Workers KV binding](/kv/concepts/kv-bindings/) on any Workers KV namespace you have bound to your Worker code:
4747

4848
```js
4949
env.NAMESPACE.delete(key);
@@ -70,7 +70,7 @@ Calling the `delete()` method will remove the key and value from your Workers KV
7070

7171
Delete more than one key-value pair at a time with Wrangler or [via the REST API](/api/operations/workers-kv-namespace-delete-multiple-key-value-pairs).
7272

73-
The bulk REST API can accept up to 10,000 KV pairs at once. Bulk writes are not supported using the [KV binding](/kv/concepts/kv-bindings/).
73+
The bulk REST API can accept up to 10,000 KV pairs at once. Bulk writes are not supported using the [Workers KV binding](/kv/concepts/kv-bindings/).
7474

7575
## Other methods to access Workers KV
7676
You can also [delete key-value pairs from the command line with Wrangler](/kv/reference/kv-commands/#delete) or [with the REST API](/api/operations/workers-kv-namespace-delete-key-value-pair).

src/content/docs/kv/api/read-key-value-pairs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
order: 4
66
---
77

8-
To get the value for a given key, call the `get()` method of the [KV binding](/kv/concepts/kv-bindings/) on any [KV namespace](/kv/concepts/kv-namespaces/) you have bound to your Worker code:
8+
To get the value for a given key, call the `get()` method of the [Workers KV binding](/kv/concepts/kv-bindings/) on any [Workers KV namespace](/kv/concepts/kv-namespaces/) you have bound to your Worker code:
99

1010
```js
1111
env.NAMESPACE.get(key);

src/content/docs/kv/api/write-key-value-pairs.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
order: 5
66
---
77

8-
To create a new key-value pair, or to update the value for a particular key, call the `put()` method of the [KV binding](/kv/concepts/kv-bindings/) on any [KV namespace](/kv/concepts/kv-namespaces/) you have bound to your Worker code:
8+
To create a new key-value pair, or to update the value for a particular key, call the `put()` method of the [Workers KV binding](/kv/concepts/kv-bindings/) on any [Workers KV namespace](/kv/concepts/kv-namespaces/) you have bound to your Worker code:
99

1010
```js
1111
env.NAMESPACE.put(key, value);
@@ -88,7 +88,7 @@ Write more than one key-value pair at a time with Wrangler or [via the REST API]
8888
8989
The bulk API can accept up to 10,000 KV pairs at once.
9090
91-
A `key` and a `value` are required for each KV pair. The entire request size must be less than 100 megabytes. Bulk writes are not supported using the [KV binding](/kv/concepts/kv-bindings/).
91+
A `key` and a `value` are required for each KV pair. The entire request size must be less than 100 megabytes. Bulk writes are not supported using the [Workers KV binding](/kv/concepts/kv-bindings/).
9292
9393
### Expiring keys
9494

src/content/docs/kv/get-started.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Create a new Worker to read and write to your Workers KV namespace.
9999

100100
## 2. Create a Workers KV namespace
101101

102-
A [KV namespace](/kv/concepts/kv-namespaces/) is a key-value database replicated to Cloudflare’s global network.
102+
A [Workers KV namespace](/kv/concepts/kv-namespaces/) is a key-value database replicated to Cloudflare’s global network.
103103

104104
<Tabs syncKey = 'CLIvsDash'> <TabItem label='CLI'>
105105

@@ -179,7 +179,7 @@ To bind your Workers KV namespace to your Worker:
179179

180180
:::note[Bindings]
181181

182-
A binding is how your Worker interacts with external resources such as [KV namespaces](/kv/concepts/kv-namespaces/). A binding is a runtime variable that the Workers runtime provides to your code. You can declare a variable name in your `wrangler.toml` file that binds to these resources at runtime, and interact with them through this variable. Every binding's variable name and behavior is determined by you when deploying the Worker.
182+
A binding is how your Worker interacts with external resources such as [Workers KV namespaces](/kv/concepts/kv-namespaces/). A binding is a runtime variable that the Workers runtime provides to your code. You can declare a variable name in your `wrangler.toml` file that binds to these resources at runtime, and interact with them through this variable. Every binding's variable name and behavior is determined by you when deploying the Worker.
183183

184184
Refer to [Environment](/kv/reference/environments/) for more information.
185185

@@ -312,7 +312,7 @@ You can view key-value pairs directly from the dashboard.
312312

313313
When using [`wrangler dev`](/workers/wrangler/commands/#dev) to develop locally, Wrangler defaults to using a local version of Workers KV to avoid interfering with any of your live production data in Workers KV. This means that reading keys that you have not written locally returns null.
314314

315-
To have `wrangler dev` connect to your Workers KV namespace running on Cloudflare's global network, call `wrangler dev --remote` instead. This uses the `preview_id` of the Workers KV binding configuration in the `wrangler.toml` file. See the [KV binding docs](/kv/concepts/kv-bindings/#using-the-kv-binding-when-developing-locally) for more information.
315+
To have `wrangler dev` connect to your Workers KV namespace running on Cloudflare's global network, call `wrangler dev --remote` instead. This uses the `preview_id` of the Workers KV binding configuration in the `wrangler.toml` file. See the [Workers KV binding docs](/kv/concepts/kv-bindings/#using-the-kv-binding-when-developing-locally) for more information.
316316

317317
:::
318318

@@ -465,6 +465,6 @@ By finishing this tutorial, you have:
465465

466466
If you have any feature requests or notice any bugs, share your feedback directly with the Cloudflare team by joining the [Cloudflare Developers community on Discord](https://discord.cloudflare.com).
467467

468-
- Learn more about the [KV API](/kv/api/).
468+
- Learn more about the [Workers KV API](/kv/api/).
469469
- Understand how to use [Environments](/kv/reference/environments/) with Workers KV.
470470
- Read the Wrangler [`kv` command documentation](/kv/reference/kv-commands/).

src/content/docs/pages/framework-guides/deploy-a-remix-site.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ npm run deploy
7676
## Create and add a binding to your Remix application
7777

7878
To add a binding to your Remix application, refer to [Bindings](/pages/functions/bindings/).
79-
A [binding](/pages/functions/bindings/) allows your application to interact with Cloudflare developer products, such as [KV namespaces](/kv/concepts/how-kv-works/), [Durable Objects](/durable-objects/), [R2 storage buckets](/r2/), and [D1 databases](/d1/).
79+
A [binding](/pages/functions/bindings/) allows your application to interact with Cloudflare developer products, such as [Workers KV namespaces](/kv/concepts/how-kv-works/), [Durable Objects](/durable-objects/), [R2 storage buckets](/r2/), and [D1 databases](/d1/).
8080

8181
### Binding resources in local development
8282

src/content/docs/pages/functions/wrangler-configuration.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ This will work for local development, but will fail to validate when you try to
353353

354354
- `kv_namespaces` <Type text="object" /> <MetaInfo text="optional" />
355355

356-
- A list of Workers KV namespaces that your Function should be bound to. Refer to [KV namespaces](/pages/functions/bindings/#kv-namespaces).
356+
- A list of Workers KV namespaces that your Function should be bound to. Refer to [Workers KV namespaces](/pages/functions/bindings/#kv-namespaces).
357357

358358
- `queues.producers` <Type text="object" /> <MetaInfo text="optional" />
359359

@@ -440,7 +440,7 @@ When using Wrangler in the default local development mode, files will be written
440440
:::
441441

442442
- Configure Workers KV namespace bindings via your [`wrangler.toml` file](/workers/wrangler/configuration/#kv-namespaces) the same way they are configured with Cloudflare Workers.
443-
- Interact with your [KV namespace binding](/pages/functions/bindings/#kv-namespaces).
443+
- Interact with your [Workers KV namespace binding](/pages/functions/bindings/#kv-namespaces).
444444

445445
### Queues Producers
446446

src/content/docs/r2/api/s3/presigned-urls.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ A valid alternative design to presigned URLs is to use a Worker with a [binding]
6868
:::note[Bindings]
6969

7070

71-
A binding is how your Worker interacts with external resources such as [KV Namespaces](/kv/concepts/kv-namespaces/), [Durable Objects](/durable-objects/), or [R2 Buckets](/r2/buckets/). A binding is a runtime variable that the Workers runtime provides to your code. You can declare a variable name in your `wrangler.toml` file that will be bound to these resources at runtime, and interact with them through this variable. Every binding's variable name and behavior is determined by you when deploying the Worker. Refer to [Environment Variables](/workers/configuration/environment-variables/) for more information.
71+
A binding is how your Worker interacts with external resources such as [Workers KV Namespaces](/kv/concepts/kv-namespaces/), [Durable Objects](/durable-objects/), or [R2 Buckets](/r2/buckets/). A binding is a runtime variable that the Workers runtime provides to your code. You can declare a variable name in your `wrangler.toml` file that will be bound to these resources at runtime, and interact with them through this variable. Every binding's variable name and behavior is determined by you when deploying the Worker. Refer to [Environment Variables](/workers/configuration/environment-variables/) for more information.
7272

7373
A binding is defined in the `wrangler.toml` file of your Worker project's directory.
7474

src/content/docs/r2/api/workers/workers-api-reference.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ R2 organizes the data you store, called objects, into containers, called buckets
1818
:::note[Bindings]
1919

2020

21-
A binding is how your Worker interacts with external resources such as [KV Namespaces](/kv/concepts/kv-namespaces/), [Durable Objects](/durable-objects/), or [R2 Buckets](/r2/buckets/). A binding is a runtime variable that the Workers runtime provides to your code. You can declare a variable name in your `wrangler.toml` file that will be bound to these resources at runtime, and interact with them through this variable. Every binding's variable name and behavior is determined by you when deploying the Worker. Refer to [Environment Variables](/workers/configuration/environment-variables/) for more information.
21+
A binding is how your Worker interacts with external resources such as [Workers KV Namespaces](/kv/concepts/kv-namespaces/), [Durable Objects](/durable-objects/), or [R2 Buckets](/r2/buckets/). A binding is a runtime variable that the Workers runtime provides to your code. You can declare a variable name in your `wrangler.toml` file that will be bound to these resources at runtime, and interact with them through this variable. Every binding's variable name and behavior is determined by you when deploying the Worker. Refer to [Environment Variables](/workers/configuration/environment-variables/) for more information.
2222

2323
A binding is defined in the `wrangler.toml` file of your Worker project's directory.
2424

@@ -87,9 +87,9 @@ export default {
8787
* `list` <Type text="(options?: R2ListOptions): Promise<R2Objects>" />
8888

8989
* Returns an <code>R2Objects</code> containing a list of <code>R2Object</code> contained within the bucket.
90-
* The returned list of objects is ordered lexicographically.
90+
* The returned list of objects is ordered lexicographically.
9191
* Returns up to 1000 entries, but may return less in order to minimize memory pressure within the Worker.
92-
* To explicitly set the number of objects to list, provide an [R2ListOptions](/r2/api/workers/workers-api-reference/#r2listoptions) object with the `limit` property set.
92+
* To explicitly set the number of objects to list, provide an [R2ListOptions](/r2/api/workers/workers-api-reference/#r2listoptions) object with the `limit` property set.
9393

9494
* `createMultipartUpload` <Type text="(key: string, options?: R2MultipartOptions): Promise<R2MultipartUpload>" />
9595

@@ -125,7 +125,7 @@ export default {
125125

126126
:::note
127127

128-
Cloudflare recommends using the `httpEtag` field when returning an etag in a response header. This ensures the etag is quoted and conforms to [RFC 9110](https://www.rfc-editor.org/rfc/rfc9110#section-8.8.3).
128+
Cloudflare recommends using the `httpEtag` field when returning an etag in a response header. This ensures the etag is quoted and conforms to [RFC 9110](https://www.rfc-editor.org/rfc/rfc9110#section-8.8.3).
129129
:::
130130

131131
* The etag associated with the object upload.

src/content/docs/r2/api/workers/workers-api-usage.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ You will need to bind your bucket to a Worker.
5656

5757
:::note[Bindings]
5858

59-
A binding is how your Worker interacts with external resources such as [KV Namespaces](/kv/concepts/kv-namespaces/), [Durable Objects](/durable-objects/), or [R2 Buckets](/r2/buckets/). A binding is a runtime variable that the Workers runtime provides to your code. You can declare a variable name in your `wrangler.toml` file that will be bound to these resources at runtime, and interact with them through this variable. Every binding's variable name and behavior is determined by you when deploying the Worker. Refer to the [Environment Variables](/workers/configuration/environment-variables/) documentation for more information.
59+
A binding is how your Worker interacts with external resources such as [Workers KV Namespaces](/kv/concepts/kv-namespaces/), [Durable Objects](/durable-objects/), or [R2 Buckets](/r2/buckets/). A binding is a runtime variable that the Workers runtime provides to your code. You can declare a variable name in your `wrangler.toml` file that will be bound to these resources at runtime, and interact with them through this variable. Every binding's variable name and behavior is determined by you when deploying the Worker. Refer to the [Environment Variables](/workers/configuration/environment-variables/) documentation for more information.
6060

6161
A binding is defined in the `wrangler.toml` file of your Worker project's directory.
6262

0 commit comments

Comments
 (0)