Creating local db


#1

Though long time ,i am searching for creating local db in ionic 2 and can any one say how to perform crud operation in local db ? .please help i am stucked for long time


#2

For most DB operations, you’d end up using the Cordova-sqlite plugin

You can use the SqlStorage class that ionic provides
http://ionicframework.com/docs/v2/api/platform/storage/SqlStorage/

Use the ionic native class for sqlStorage

Or use other APIs such as pouchDB.


#3

Thank u .
Is there is any possibilities for using image as link .


#4

How do you mean image as link? You could always use an image as link in html off course. Just wrap the image inside a link. But perhaps that’s not what you mean?


#5

I am using the image for loading new components