-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
To use with websql or sqlite (ionic, cordova plugin)
line 88:
db = window.openDatabase(db_params.name, db_params.version, db_params.sub_name, db_params.size);To (not fully tested):
if (window.cordova) {
$ionicPlatform.ready(function () {
db = $cordovaSQLite.openDB(db_params);
});
} else {
db = window.openDatabase(db_params);
}Passing a open params (object) I can use https://github.com/litehelpers/Cordova-sqlcipher-adapter
with customs options
And to finish 😏 line 82:
var db, db_set = false;db_set is a dead variable ?
Metadata
Metadata
Assignees
Labels
No labels