Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230519

Dynamic key value for SQLite storage?

$
0
0

I got it working by using id instead.

this.storage.set(option.id, this.option);

will save a data object with a unique id into sqlite so you can save as many as you want without overriding… and you can also erase each without affecting others!


Viewing all articles
Browse latest Browse all 230519


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