Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
Mathias Rangel Wulff edited this pageMay 8, 2017 ·64 revisions

The AlaSQL Wiki

About AlaSQL

AlaSQL applies SQL opperations to JavaScript arrays and objects therefore the library can best be described as a JavaScript SQL database.

The API is designed for:

  • JavaScriptdata manipulation plus advanced filtering, grouping and joining
  • Client-side SQL database with option for persistency (as Local Storage and Indexed DB)
  • Fast data processing for BI and ERP applications on fat clients
  • Easy ETL (extract, transfer, and loading) data to/fromCSV andXLSX + others
  • Works in all major browsers, Node.js, and mobile applications
// a) SQL on array of objectsvardata=[{a:1,b:10},{a:2,b:20},{a:1,b:30}];varres=alasql('SELECT a, SUM(b) AS b FROM ? GROUP BY a',[data]);console.log(res);// b) Async promise notationalasql.promise('SELECT * FROM XLS("mydata.xls") GROUP BY name WHERE lastname LIKE "A%" and city = "London"').then(function(res){console.log(res);}).catch(function(err){console.log('error:',err);});

Try examplea) injsFiddle.

Please make surepromise is supported if you are in the browser.

AlaSQL Q&A

AlaSQL Documentation

Command-Line Utilities

  • alacon - command-line utility for text and data files processing with SQL
  • alaserver - simple SQL server based on AlaSQL

Development

Sandbox

Unsure if AlaSQL fit your needs? Chekout theother JavaScript SQL databases

© 2014-2026,Andrey Gershun &Mathias Rangel Wulff

Please help improve the documentation by opening a PR on thewiki repo

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp