GithubHelp home page GithubHelp logo

yanli0303 / sql-js-worker-test Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 5.69 MB

sql.js tests with IndexedDB as storage and Worker

Home Page: https://yanli0303.github.io/sql-js-worker-test/

License: MIT License

JavaScript 100.00%
sqlite worker sqljs indexeddb fts

sql-js-worker-test's Introduction

sql-js-worker-test

sql.js tests with IndexedDB as storage and Worker.

screenshot

Try it yourself

  1. First, on OPEN tab, click the OPEN SQLITE DATABASE IN WORKER to load sql.js library in Worker and initialize the SQLite database.
  2. Then, on EXEC SQL tab,
    • Choose CREATE TABLE by clicking SELECT SQL;
    • Check the Will the SQL write any data?;
    • Click the EXEC SQL button.
  3. Switch to INSERT tab, select the number of rows to insert, then click the INSERT button.

    The page might freeze for a few seconds while it generates random strings and numbers to insert.

  4. To verify the insertion, go back to EXEC SQL tab, choose SELECT COUNT(*) in SELECT SQL and click the EXEC SQL button to get the number of rows in the table.
  5. Go to MATCH tab, enter random numbers or texts, hit either of the two match buttons.

sql-js-worker-test's People

Contributors

dependabot[bot] avatar yanli0303 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.