Skip to content

ujjwalguptaofficial/sqlweb

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.