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/partials/durable-objects/api-sync-kv.mdx
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,7 @@ import {Type, MetaInfo} from "~/components";
14
14
- <code>ctx.storage.kv.put(key <Typetext="string" />, value <Typetext="any" />)</code>: <Typetext="void" />
15
15
- Stores the value and associates it with the given key. The value can be any type supported by the [structured clone algorithm](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm), which is true of most types.
16
16
17
-
The size of keys and values have different limits depending on the Durable Object storage backend you are using. Refer to:
For the size of keys and values refer to [SQLite-backed Durable Object limits](/durable-objects/platform/limits/#sqlite-backed-durable-objects-general-limits)
0 commit comments