Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

list more than 100 kv namespaces #1717

Merged
merged 4 commits into from
Jan 13, 2021
Merged

list more than 100 kv namespaces #1717

merged 4 commits into from
Jan 13, 2021

Conversation

ags799
Copy link
Contributor

@ags799 ags799 commented Jan 11, 2021

Use the KV API's pagination to accumulate all the namespaces in an account.

@ags799 ags799 requested a review from a team as a code owner January 11, 2021 22:48
src/kv/namespace/upsert.rs Outdated Show resolved Hide resolved
src/kv/namespace/list.rs Outdated Show resolved Hide resolved
.to_owned();
Ok(UpsertedNamespace::Reused(namespace))
.find(|ns| ns.title == title) {
Some(namespace) => Ok(UpsertedNamespace::Reused(namespace.to_owned())),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😄

@xortive xortive merged commit 8619030 into master Jan 13, 2021
@delete-merged-branch delete-merged-branch bot deleted the asharp/more-namespaces branch January 13, 2021 00:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants