AlaSQL is a relational DBMS designed to run in web browsers and JavaScript-based application servers (Node.js). It supports both relational tables and document-oriented collections (JSON).
- Website
- http://alasql.org[01]
- Source Code
- https://github.com/AlaSQL/alasql[02]
- Developer
- Country of Origin
- RU
- Start Year
- 2014
- Project Type
- Open Source
- Written in
- JavaScript
- Supported Languages
- JavaScript
- License
- MIT License
AlaSQL is a relational DBMS designed to run in web browsers and JavaScript-based application servers (Node.js). It supports both relational tables and document-oriented collections (JSON).
History[02][04][05]
The author of AlaSQL is Andrey Gershun, a Russian developer. The initial commit for AlaSQL on Github was on October 26, 2014.
In 2014, there were a handful of NoSQL in-memory databases that can be directly used in browser. The lack of a SQL compliant alternative motivated the AlaSQL project.
One of the major milestones/releases of the AlaSQL project is version 0.1.4 in which foreign keys, unique/not-null/check constraints were added. In version 0.4.0, support for Typescript syntax checking was added.
Data Model[06]
AlaSQL supports the relational model, but can also act as a document store. Most standard SQL data types are supported, in additional to a number of JavaScript data types, like JSON objects.
Indexes[08]
AlaSQL uses hash tables for its indexes. Upon index creation, all entries in the table are hashed and stored in a JavaScript object.
Joins[09]
All SQL join types are supported. Prior to executing a join, both tables are pre-indexed, and WHERE predicates are evaluated.
Query Interface[10]
Currently, AlaSQL is only available for JavaScript. AlaSQL uses standard SQL interfaces. However, like many other database management systems, AlaSQL is not fully compliant with any revisions of the SQL database query language. For example, the ALLOCATE keyword, which is available since SQL-92, is not supported by AlaSQL.
Storage Architecture[01]
AlaSQL is an in-memory database that is intended for Node.js and in-browser usage.
Citations
11 sources- Home Page alasql.org
- GitHub - AlaSQL/alasql: AlaSQL.js - JavaScript SQL database for browser and Node.js. Handles both traditional relational tables and nested JSON data (NoSQL). Export, store, and import data from localStorage, IndexedDB, or Excel. · GitHub github.com
- https://github.com/agershun/alasql/wiki github.com
- https://twitter.com/agershun/status/597808729258651648 twitter.com
- TypeScript · AlaSQL/alasql Wiki · GitHub github.com
- Data Types · AlaSQL/alasql Wiki · GitHub github.com
- Foreign Key · AlaSQL/alasql Wiki · GitHub github.com
- alasql/src/65createindex.js at develop · AlaSQL/alasql · GitHub github.com
- Speed · AlaSQL/alasql Wiki · GitHub github.com
- SQL keywords · AlaSQL/alasql Wiki · GitHub github.com
- https://github.com/AlaSQL/alasql/commit/f1ca00e246998044ccd883a8b7c8b1d427fedda6 github.com