I can't understand this simply thing. I need to store data in a database so, following the ionic documentation, I did exactly what this page says:
https://ionicframework.com/docs/storage/
I read on web that WebSQL is deprecated so I'd like to use IndexedDB to store data. The problem is that using get/set methods and running "ionic serve" I see that data is stored in WebSQL (in the form of a string, so difficult to see objects like in IndexedDB).
What am I doing wrong? How to store in IndexedDB and why prefer it to WebSQL?
sqlite
andwebsql
, I get the errorError: No available storage method found.
– Qintar