Skip to content

Commit

Permalink
Merge branch 'release/0.1.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
agershun committed May 8, 2015
2 parents c615f20 + dfe9cc3 commit 3ace6ae
Show file tree
Hide file tree
Showing 24 changed files with 3,027 additions and 1,799 deletions.
4 changes: 2 additions & 2 deletions .bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "alasql",
"description":"AlaSQL.js - JavaScript SQL database library for relational and graph data with support of localStorage, IndexedDB, and Excel",
"version": "0.1.2",
"version": "0.1.3",
"license": "MIT",
"keywords": [
"sql",
Expand Down Expand Up @@ -30,7 +30,7 @@
"url": "https://github.com/agershun/alasql.git"
},
"dependencies": {
"xlsjs":"0.7.15",
"js-xls": "~0.7.5",
"js-xlsx":"0.8.0"
},
"devDependencies": {
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

### 0.1.3 "Vaticano" (08.05.2015 - 09.05.2015)
* Check for null values for SEACRH
* ORDER BY for SEARCH operator
* Brackets for SEARCH selectors (WITH() selector)
* SEARCH DISTINCT, UNION ALL, UNION selectors
* Added simple PATH() selector

### 0.1.2 "Firenze" (06.05.2015 - 07.05.2015)
* Simple compilation of SEARCH operator
* SUM(),COUNT(),MIN(),MAX(),FIRST(),LAST() search aggregators
Expand Down
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AlaSQL.js - JavaScript SQL database library for relational and graph data with support of localStorage, IndexedDB, and Excel
# AlaSQL.js - JavaScript SQL database library for relational and graph data manipulation with support of localStorage, IndexedDB, and Excel

Version: 0.1.2 "Firenze" Date: May 7, 2015 [Change log](CHANGELOG.md), [Release plan](RELEASES.md)
Version: 0.1.3 "Vaticano" Date: May 9, 2015 [Change log](CHANGELOG.md), [Release plan](RELEASES.md)

AlaSQL - '[à la SQL](http://en.wiktionary.org/wiki/%C3%A0_la)' - is a lightweight JavaScript SQL database designed to work in browser, Node.js, and Apache Cordova. It supports traditional SQL with some NoSQL functionality. Current version of AlaSQL can work in memory and use file, IndexedDB, and localStorage as a persistent storage.

Expand Down Expand Up @@ -49,6 +49,21 @@ Check AlaSQL vs other JavaScript SQL databases and data processing libraries:

## What is new?

### Search paths in graph

Now you can search graphs with SEARCH operator:
```js
var res = alasql('CREATE GRAPH Pablo, Maxim, Alex, Napoleon, \
Josephine, Kate, Julia {age:27}, Paloma, \
#Pablo >loves> #Julia, #Maxim >> #Julia, #Alex >> #Kate, \
#Kate >> #Julia, #Alex >> #Paloma, #Napoleon > "loves" > #Josephine, \
#Josephine >"knows"> #Pablo');

var res = alasql('SEARCH #Napoleon PATH(#Pablo) name');
// returns ['loves','Josephine','knows','Pablo']
```
You can play with grpahs in AlaSQL in [this jsFiddle example](http://jsfiddle.net/fgzya692/1/).

### Documents and graphs paradigms

AlaSQL now is multi-paradigm database with support documents and graphs. Below you can find an example
Expand Down
1,447 changes: 861 additions & 586 deletions alasql.js

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions console/alasql.min.js

Large diffs are not rendered by default.

1,447 changes: 861 additions & 586 deletions dist/alasql.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/alasql.js.map

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions dist/alasql.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "alasql",
"description": "AlaSQL.js - JavaScript SQL database library for relational and graph data with support of localStorage, IndexedDB, and Excel",
"version": "0.1.2",
"version": "0.1.3",
"author": "Andrey Gershun <[email protected]>",
"directories": {
"example": "examples",
Expand Down
4 changes: 2 additions & 2 deletions src/05copyright.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//
// alasql.js
// AlaSQL - JavaScript SQL database
// Date: 7.05.2015
// Version: 0.1.2
// Date: 9.05.2015
// Version: 0.1.3
// (ñ) 2014-2015, Andrey Gershun
//

Expand Down
2 changes: 1 addition & 1 deletion src/10start.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ var alasql = function(sql, params, cb, scope) {
};

/** Current version of alasql */
alasql.version = "0.1.2";
alasql.version = "0.1.3";

Loading

0 comments on commit 3ace6ae

Please sign in to comment.