-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Range search for localstorage and session storage #10411
Comments
do you have a fuller example of what you're trying to accomplish and how the current api falls short? |
I wanted to fetch out a range of values from Storage interface. For example get me all values in between So I suggest we should have a feature to pull out range of values out of Storage interface. |
Are there any libraries that offer this functionality and how popular are they? In general though I would not expect us to add much new functionality to |
Indeed. I'd rather have some reasonable API on top of IndexedDB, or make IndexedDB itself easy to use. |
There are no libs to work on top of Storage api. As the underlying lib do not have any kind of iterators or complex search feature themselves. |
yeah IDB can be used, but cases where Storage(local/session) is needed there in we do not have some complex search features to help out. |
Let's close this, as we have signals from multiple implementers that the sync storage APIs are not going to be extended. |
What problem are you trying to solve?
Storage interface of the WebStorage API should have a range search feature to pull out multiple value out of Storage interface.
What solutions exist today?
None
How would you solve it?
Solutions:
getItems
method to storage interfacenextKey
andprevKey
methods to storage interface.Anything else?
No response
The text was updated successfully, but these errors were encountered: