Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/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
https://github.com/seand88/ionic2-sql-interface

angular angular2 ionic ionic2 sql websql

Last synced: about 1 month ago
JSON representation

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

Lists

README

        

# 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