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: 30 days ago
JSON representation
Ionic2 sql interface for using sqlite query in browser and native. Uses sql.js in browser, and native sqlite on mobile
- Host: GitHub
- URL: https://github.com/seand88/ionic2-sql-interface
- Owner: seand88
- Created: 2016-10-10T22:25:59.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-07T01:26:59.000Z (about 8 years ago)
- Last Synced: 2024-08-03T18:21:49.028Z (4 months ago)
- Topics: angular, angular2, ionic, ionic2, sql, websql
- Language: TypeScript
- Homepage:
- Size: 4.88 KB
- Stars: 18
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ionic2-components - SQL Interface
- Awesome - SQL Interface
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