Skip to content Skip to sidebar Skip to footer

Ionic3 With Sqlite- On Select

I have issue with querying the records from SQL Lite DB using cordova in Android this.platform.ready().then(() => { this.sqlite.create({ name: 'temp.db',

Solution 1:

This is how I resolved the issue. Incase if it helps anyone

1.Removed cordova sqllite plugin
2.Reinstalled Ionic sqllite plugin -latest
3.Took npm updateof cordova
4.Performed cordova prepare android
5.Executed ionic build android
6.Corrected the typo from the queries response.rows.item(i).FIRST_NAME. It should be curly brace only. Sadly IDE doesnt triggerany error

Solution 2:

I don´t know how late it is, but you must use:

response.rows.item(i).FIRST_NAME

() instead of [].

Post a Comment for "Ionic3 With Sqlite- On Select"