Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Storage, performance: get values from keys that begin with the same characters

$
0
0

@tandler34 wrote:

I'm looking at https://ionicframework.com/docs/storage/ and i'm questioning myself on the possibilty to store keys that begin always with the same characters (e.g "tan1 tan2 tan4") and get the values from them.
I know that it's possible but, the important part, can i get the values from these keys without loop all the keys in the storage using the forEach(iteratorCallback)?
Exist a way to get from the storage only the keys that begin in a particular way (e.g. "tan") without check each key in the storage if it contains at the beginning the specific format? It could be a big problem on performance.

Thanks in advice.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>