sqlweb
TypeScript icon, indicating that this package has built-in type declarations

1.6.2 • Public • Published

Build Status npm version

SqlWeb

SqlWeb is an extension of JsStore which allows to use sql query for performing database operation in IndexedDB.

Website

https://github.com/ujjwalguptaofficial/sqlweb/wiki

Examples

import * as JsStore from 'jsstore';
import SqlWeb from "sqlweb";

// create jsstore connection
var connection = new JsStore.Instance('jsstore worker path');

// add SqlWeb 
connection.addPlugin(SqlWeb);

// run select query
connection.$sql.run("select * from Customers").then(function(result) {
    console.log(result);
});

For a complete example - check out below link.

Dependents (2)

Package Sidebar

Install

npm i sqlweb

Weekly Downloads

34

Version

1.6.2

License

MIT

Unpacked Size

1.84 MB

Total Files

24

Last publish

Collaborators

  • ujjwalguptaofficial