websqlite
v1.3.1
Published
websql sqlite library, ionic, react-native, angularjs sqlite library, sqlite kütüphanesi Edit
Downloads
39
Readme
WebSql and Sqlite Compatible SqlService Library
Install
install command:
npm install websqlite --save
Initialize
const websqlite = require('websqlite');
var SqlService = new websqlite();
SqlService.init({
id: 'user', // db name
dbObject: window, // database object eg: window.openDatabase
timeout: 5000 // process waiting time
})
| name | description | | --- | --- | | id | database name | | dbObject | database object | | timeout | sql process timeout | | version | database version (default: 1.0)| | description | database description (default: Database)|
API documentation
License
This library MIT license. Copyright Avare Kodcu.