Closed markarupert closed 7 years ago
This should be possible though I have not tested this functionality. It would be great if you can show a small test program that demonstrates the problem. A couple bonus items:
It worked fine on the cordova-sqlite-storage version. When I moved to this one is when I got the error.
I will give the database object a try and let you know.
This did not give me an error:
db.executeSql("CREATE INDEX IF NOT EXISTS timeStatusElogIdx ON elog (starttime, endtime, status)", [], function (results) {
deviceLog("CREATE INDEX timeStatusElogIdx success", function (str) {console.log(str)});
}, function (err) {
deviceLog("CREATE INDEX timeStatusElogIdx Failed, err=" + err.message, function (str) {console.log(str)});
});
Closing for now. Please report here or in a new issue if you have an error reproduction scenario.
Can indexes be created with this plugin? I got an error trying to create the following index for my table
CREATE INDEX timeStatusElogIdx ON elog (starttime, endtime, status)