What Database to use with IONIC Apps


#1

Please let me know what DataBase could I use with my Android Application.

Thanks!


#2

sqlite or localstorage


#3

As i thought. Thank you for the help!

Could you give me further details about SQLite or localstorage?


#4

Use sqlite when you have loads of data which will be more than 5MB and you need a reliable storage.

Use Localstorage when you have small data less than 5MB. It is not very reliable so use it for trivial stuff.

You can use pouch db or ngcordova to work with sqlite. you don’t need any library to work with localstorage.