DenoDDeno
Powered by
martpetM
Denoβ€’3y agoβ€’
5 replies
martpet

Prefix Kv keys with a base part

Currently I add
base()
base()
to all keys:

kv.set([base(), "foo"], value)
kv.set([base(), "foo"], value)

Instead of manually adding
base()
base()
to every key, could there be a way to have it added by default, for all Kv methods?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

KV watch prefix?
Michael FrancisMMichael Francis / help
2y ago
Purging Kv keys
HexagonHHexagon / help
3y ago
KV multimap / unordered keys search
foobarFfoobar / help
2y ago
get length for KV list via prefix?
nocksockNnocksock / help
3y ago