GitHub - seand88/ionic2-sql-interface: Ionic2 sql interface for using sqlite query in browser and native. Uses sql.js in browser, and native sqlite on mobile

Skip to content

Navigation Menu

Sign in

Appearance settings

ionic2-sql-interface

Creating this since ionic2 rc0 removed the query interface since websql is depreciated.

Using sql.js should continue to work as browsers move away from websql

#Usage

Place file into your ionic project Import the file for example...

import {SqlStorage} from '../sql/sql';

Use with

var storage = new SqlStorage();

Should be a drop in replacement to get your query interface back.

#TODO

Turn into npm module and fallback to sql.js instead of websql

About

Ionic2 sql interface for using sqlite query in browser and native. Uses sql.js in browser, and native sqlite on mobile

Topics

Resources

Readme

Activity

Stars

18 stars

Watchers

1 watching

Forks

3 forks