Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49166

Ionic & cordova sqlite plugin help me plz!

$
0
0

@developer_med wrote:

hello for everyone , so i'm developing my first app with ionic and cordova , i"m using codova sqlite plugin for local storage after some tutorials that i saw all sqlite management was created in app.js especialy CRUD operations in conttrollers and also database creation , the opening and table creation they put in app.run(function($ionicPlatform,$cordovaSQLite) { ..... } , so that's mean that every time when applixation lanched run will executed => database creation instruction executed every time ,so my quesion if is possible to execute database creation instruction just once only may be a script which execute the first time for all ?? how we can do that ?
i hope that someone give my some suggestions or any idea about that
anyway thnk u very much ionites and good luck :smiley:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49166

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>