Skip to content

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

Notifications You must be signed in to change notification settings

jkobylec/ionic2-sql-interface

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

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 in browser and native. Uses sql.js in browser, and native sqlite on mobile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%