Open fabiancook opened 9 months ago
The Kv client currently has
Kv
list<T>(selector: KvListSelector, options?: KvListOptions): AsyncIterableIterator<{ key: KvKey, entry: T }[]>
Would be nice to be able to get the keys alone without needing to retrieve the entries
keys(selector: KvListSelector, options?: KvListOptions): AsyncIterableIterator<KvKey[]>
Thinking ahead, a similar function could be if you want just the values directly matching:
values<T>(selector: KvListSelector, options?: KvListOptions): AsyncIterableIterator<T>
This would match keys functionality available with other kv implementations:
The
Kv
client currently hasWould be nice to be able to get the keys alone without needing to retrieve the entries
Thinking ahead, a similar function could be if you want just the values directly matching:
This would match keys functionality available with other kv implementations: