GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jhubert/javascript-sqlite: A very simple javascript layer for a browser based SQLite database.

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
README
README
 
 
sqlite.js
sqlite.js
 
 
tests.html
tests.html
 
 

Repository files navigation

A very simple Javascript layer for the web based SQLite database.

example usage:

var db = SQLite({ shortName: 'mydb' });

db.createTable('people', 'name TEXT, age INTEGER');

db.insert('people', { name: 'Jeremy', age: 29 });

db.update('people', { age: 30 }, { name: 'Jeremy' });

db.select('people', '*', { age: 30 }, function (results) { var x; for(x=0; x<results.rows.length; x++) { console.log(results.rows.item(x)); } });

db.destroy('people', { age: 30 });

Conditions can be:
  * a number: defaults to 'WHERE id=number'
  * a string: generates 'WHERE string'
  * an array: generates 'WHERE val1 AND val2'
  * a hash:   generates 'WHERE key=hash[key] AND key2=hash[key2]'

About

A very simple javascript layer for a browser based SQLite database.

Resources

Readme
Activity

Stars

53 stars

Watchers

6 watching

Forks

18 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.