You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/kv/api/read-key-value-pairs.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ The `get()` method returns a promise you can `await` on to get the value. If the
58
58
* `key`: `string`
59
59
* The key of the KV pair.
60
60
* `type`: `"text"|"json"|"arrayBuffer"|"stream"`
61
-
* Optional. The type of the value to be returned. `string` is the default.
61
+
* Optional. The type of the value to be returned. `text` is the default.
62
62
* `options`: `{
63
63
cacheTtl: number,
64
64
type:"text"|"json"|"arrayBuffer"|"stream"
@@ -168,4 +168,4 @@ The effective `cacheTtl` of an already cached item can be reduced by getting it
168
168
169
169
## Other methods to access KV
170
170
171
-
You can [read key-value pairs from the command line with Wrangler](/kv/reference/kv-commands/#get) and [from the API](/api/operations/workers-kv-namespace-read-key-value-pair).
171
+
You can [read key-value pairs from the command line with Wrangler](/kv/reference/kv-commands/#get) and [from the API](/api/operations/workers-kv-namespace-read-key-value-pair).
0 commit comments