Replies: 2 comments 2 replies
-
See this example of a KV-Tree viewer On the top-right, see the link for see the code, it will take you to the repo. |
Beta Was this translation helpful? Give feedback.
1 reply
-
The RPC API could very easily be made to fetch by hierarchy tiers. First tier (key[0]) would populate tree. Selecting any tree-node would fetch all children of that prefix. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Deno KV's keys are lists, but the way they're commonly used suggests a directory tree. For example, the key for a user might be ["users", 123], which looks sort of like there are users in a users directory.
Is there some way to do the equivalent of "ls /" in a Unix filesystem? It doesn't look like the list operation could be used to do this, so it's not clear how one would write a browser for an arbitrary KV database, where you don't already know which keys are in it.
Beta Was this translation helpful? Give feedback.
All reactions