Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Help with sqlite

$
0
0

The db var must exist and be defined, so you can use into your controller:

var db = $cordovaSQLite.openDB({ name: "myapp.db" });

to (re)open the db, or save the db variable somewhere (scope?).


Viewing all articles
Browse latest Browse all 228595

Trending Articles