You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self explanatory, i think list is quite important and useful for KV related stuff. i usually need to roll out my own KeyValueStore impl that's literally just KeyValueStore & { list: Effect<ReadonlyArray<string>> }
thoughts?
What is the feature you are proposing to solve the problem?
Redis does have a KEYS operation LMDB does not have any list operation. IndexedDb has a listAllKeys(). LocalStorage and SessionStorage don't have a list operation, but you can technically iterate over their keys with Object.keys since in the specification of a Storage, the entry names are accessible on the instance.
In my opinion, it is debatable whether a list operator should exist on a KeyValueStore, given considerations of data ephemerality and the reliability of the results. There is an argument to be made that it is not optimal KV store usage for the logic flow to rely on listing the keys. Especially for larger datasets
Activity
mikearnaldi commentedon Dec 15, 2025
not all key value stores support listing keys no?
skoshx commentedon Dec 15, 2025
Which one doesnt? Redis, Lmdb, IndexedDb, localStorage and session storage all support a list operation?
datner commentedon Mar 31, 2026
Redisdoes have aKEYSoperationLMDBdoes not have anylistoperation.IndexedDbhas alistAllKeys().LocalStorageandSessionStoragedon't have a list operation, but you can technically iterate over their keys withObject.keyssince in the specification of aStorage, the entry names are accessible on the instance.In my opinion, it is debatable whether a
listoperator should exist on aKeyValueStore, given considerations of data ephemerality and the reliability of the results. There is an argument to be made that it is not optimal KV store usage for the logic flow to rely on listing the keys. Especially for larger datasetsIMax153 commentedon Jul 14, 2026
Assigned @tim-smart to make a decision here.