Ionic 2 storage doesn't have query method

I’m updating my app to Ionic 2 rc0 and using import {Storage} from "@ionic/storage"; But it doesn’t have query method. It was there in beta 11 to query SQLite.

[UPDATE] Anyone else facing this issue can subscribe to this github issue for updates. Issue has been reported to Ionic Team, hopefully will be resolved soon then we can upgrade and get awesome benefits of rc0 :thumbsup:

8 Likes

Created a new sql file to use as a drop in replacement for now.
Will eventually be converted to use sql.js when websql is depreciated