# Tutorials/links on CRUD using "Ionic Storage" with capacitor?

**URL:** <https://forum.ionicframework.com/t/tutorials-links-on-crud-using-ionic-storage-with-capacitor/193788>\
**Category:** Ionic Framework\
**Created:** [August 2, 2020, 4:26am UTC](https://forum.ionicframework.com/t/tutorials-links-on-crud-using-ionic-storage-with-capacitor/193788 "2020-08-02T04:26:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefanbanu](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/stefanbanu/32/133328_2.png) [@stefanbanu](https://forum.ionicframework.com/u/stefanbanu)\
**Post date:** [August 2, 2020, 4:26am UTC](https://forum.ionicframework.com/t/tutorials-links-on-crud-using-ionic-storage-with-capacitor/193788/1 "2020-08-02T04:26:59Z")

</div>

Hi,

I want to create an app that can be used on the web, android, and ios. It will need to have offline storage and syncing when it goes online again. Ionic storage is a good choice for this? Is it free? There are better alternatives?

p.s do you know any tutorials/links on how to achieve a simple CRUD for this?  
Most of the tutorials are using the Cordova plugin instead of capacitor.

thank you

---

<div class="post-metadata">

**Author:** ![mirkonasato](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mirkonasato/32/131398_2.png) [@mirkonasato](https://forum.ionicframework.com/u/mirkonasato)\
**Post date:** [August 2, 2020, 7:59pm UTC](https://forum.ionicframework.com/t/tutorials-links-on-crud-using-ionic-storage-with-capacitor/193788/2 "2020-08-02T19:59:12Z")

</div>

Which “storage” are you referring to exactly? There are a few of them. Capacitor has its own [Storage](https://capacitorjs.com/docs/apis/storage) plugin. It’s good for saving small amounts of data, like user preferences, but as the docs say

> Note: this API is not meant for high-performance data storage applications. Take a look at using SQLite or a separate data engine if your application will store a lot of items, have high read/write load, or require complex querying.

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [August 2, 2020, 9:52pm UTC](https://forum.ionicframework.com/t/tutorials-links-on-crud-using-ionic-storage-with-capacitor/193788/3 "2020-08-02T21:52:00Z")

</div>

In addition to @mirkonasato’s questions, it would be useful to know what sort of data you are trying to store, and how it is to be fetched (e.g., can everything be a black box with a unique key, or do you need to query based on things inside the stored objects?).

---

<div class="post-metadata">

**Author:** ![stefanbanu](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/stefanbanu/32/133328_2.png) [@stefanbanu](https://forum.ionicframework.com/u/stefanbanu)\
**Post date:** [August 3, 2020, 3:16am UTC](https://forum.ionicframework.com/t/tutorials-links-on-crud-using-ionic-storage-with-capacitor/193788/4 "2020-08-03T03:16:45Z")

</div>

Thank you for your answer, I’m referring to “Ionic Storage”:

> **[Data Storage - Ionic Documentation](https://ionicframework.com/docs/angular/storage)**
>
> Ionic is the app platform for web developers. Build amazing mobile, web, and desktop apps all with one shared code base and open web standards

I need a database for high-performance data, not just small amount of data. SQLite is a good option for this? how will it work SQLite on the web part?

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/6/5/658dfa8206014c51e4f59edd02837be012d0d813.png)

thank you

---

<div class="post-metadata">

**Author:** ![stefanbanu](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/stefanbanu/32/133328_2.png) [@stefanbanu](https://forum.ionicframework.com/u/stefanbanu)\
**Post date:** [August 3, 2020, 3:34am UTC](https://forum.ionicframework.com/t/tutorials-links-on-crud-using-ionic-storage-with-capacitor/193788/5 "2020-08-03T03:34:03Z")

</div>

Thank you for your answer,  
yes, the data will become a little complex and I will need to query things inside objects, so a high-performance data storage I need. All the guides/tutorials are using Cordova but I’m searching for some alternatives without using Cordova since ionic suggests using Capacitor, right? correct me if I’m wrong. (I’m still a beginner learning about ionic).

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/6/5/658dfa8206014c51e4f59edd02837be012d0d813.png)

thank you

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [August 3, 2020, 4:22am UTC](https://forum.ionicframework.com/t/tutorials-links-on-crud-using-ionic-storage-with-capacitor/193788/6 "2020-08-03T04:22:53Z")

</div>

This sounds like a rather ambitious first project. If you’ve been given this task for work, you might want to ask for some backup or assistance. If it’s a “learn as you go” self-driven app, maybe you might work up to it by, for example, going through [the Angular Tour of Heroes](https://angular.io/tutorial).

That being said, you have described two goals that are both doable, if not exactly _easy_, in Ionic apps:

- structurally stored data that can be queried
- offline / online syncing

Unfortunately, they’re served by two completely different (and thoroughly incompatible) solutions: SQLite and PouchDB. I would first think if there is any way you can prioritize one of those features over the other, because doing both is going to be a rather herculean task.
