# How to get an SQL database that works native as well as web in Ionic 3

**URL:** <https://forum.ionicframework.com/t/how-to-get-an-sql-database-that-works-native-as-well-as-web-in-ionic-3/134404>\
**Category:** ionic-v3\
**Created:** [July 5, 2018, 5:53am UTC](https://forum.ionicframework.com/t/how-to-get-an-sql-database-that-works-native-as-well-as-web-in-ionic-3/134404 "2018-07-05T05:53:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sohelmk](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@sohelmk](https://forum.ionicframework.com/u/sohelmk)\
**Post date:** [July 5, 2018, 5:53am UTC](https://forum.ionicframework.com/t/how-to-get-an-sql-database-that-works-native-as-well-as-web-in-ionic-3/134404/1 "2018-07-05T05:53:04Z")

</div>

Hi,  
We are developing an offline app in IONIC 3 that will also be available as purely web app for desktop browsers. Hence a simple key-value pair offered by ionic-storage is not an option. We need a proper SQL database with search, index etc that will work in android as well as browser.  
Most of examples online on sqllite are no longer possible in ionic-3.

Any advise or best practice to make above possible?

Thanks,  
Sohel

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:30pm UTC](https://forum.ionicframework.com/t/how-to-get-an-sql-database-that-works-native-as-well-as-web-in-ionic-3/134404/2 "2021-07-19T21:30:24Z")

</div>

Closed on July 19, 2021, 9:30pm UTC


