-
Notifications
You must be signed in to change notification settings - Fork 10k
KV: add bulk gets documentation #21392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KV: add bulk gets documentation #21392
Conversation
|
Howdy and thanks for contributing to our repo. The Cloudflare team reviews new, external PRs within two (2) weeks. If it's been two weeks or longer without any movement, please tag the PR Assignees in a comment. We review internal PRs within 1 week. If it's something urgent or has been sitting without a comment, start a thread in the Developer Docs space internally. PR Change SummaryEnhanced KV documentation to include bulk retrieval of key-value pairs.
Modified Files
How can I customize these reviews?Check out the Hyperlint AI Reviewer docs for more information on how to customize the review. If you just want to ignore it on this PR, you can add the Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add |
ad7203a to
d5a732c
Compare
.vscode/settings.json
Outdated
| "typescript.tsdk": "node_modules/typescript/lib", | ||
| "cSpell.enableFiletypes": ["mdx"], | ||
| "files.associations": { "__redirects": "plaintext", "_headers": "plaintext" } | ||
| "files.associations": { "__redirects": "plaintext", "_headers": "plaintext", "*.mdx": "markdown" }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this an intentional change? I don't actually know what this does.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was me, I was having some issues rendering the mdx files locally. Reverted it :)
You're right that the size difference isn't big between H4 and H5. I can raise this for discussion within the team :D FYI, as a general rule of thumb, we want to avoid H4s and lower - at that level of granularity of headings, users might not find the heading hierarchy very useful. If you have a single page which warrants H5s, I would recommend creating a new chapter it? |
Only going as low as H4 and H5 because it starts at H2 |
| date: 2025-04-17T14:00:00Z | ||
| --- | ||
|
|
||
| You can now retrieve up to 100 keys in a single bulk read request made to Workers KV. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thomasgauvin This feels like it's missing the broader context. Workers supports several programming languages, but this solution is only in JavaScript throughout the docs. Is that the only platform it works on? I noticed that the REST API supports bulk reads. Curious if the other platforms should use that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jhutchings1 We don't have documentation for Python or Rust bindings. Adjusted to mention this is for bindings!
* KV: add bulk gets documentation * PCX review * Update src/content/docs/kv/api/read-key-value-pairs.mdx * Update src/content/docs/kv/api/read-key-value-pairs.mdx * Update src/content/docs/kv/api/read-key-value-pairs.mdx * Update src/content/docs/kv/api/read-key-value-pairs.mdx * Update src/content/docs/kv/api/read-key-value-pairs.mdx * checking perms * wip * fix: delete changes to settings.json file * adjust changelog * Update .vscode/settings.json * fix styling, missing differentiation between h4 and h5 * Update src/content/changelog/kv/2025-04-10-kv-bulk-reads.mdx --------- Co-authored-by: talves <[email protected]> Co-authored-by: Jun Lee <[email protected]> Co-authored-by: Thomas Gauvin <[email protected]> Co-authored-by: Thomas Gauvin <[email protected]>
Summary
Screenshots (optional)
Documentation checklist