Skip to content

Commit 3ace6ae

Browse files
committed
Merge branch 'release/0.1.3'
2 parents c615f20 + dfe9cc3 commit 3ace6ae

24 files changed

+3027
-1799
lines changed

.bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "alasql",
33
"description":"AlaSQL.js - JavaScript SQL database library for relational and graph data with support of localStorage, IndexedDB, and Excel",
4-
"version": "0.1.2",
4+
"version": "0.1.3",
55
"license": "MIT",
66
"keywords": [
77
"sql",
@@ -30,7 +30,7 @@
3030
"url": "https://github.com/agershun/alasql.git"
3131
},
3232
"dependencies": {
33-
"xlsjs":"0.7.15",
33+
"js-xls": "~0.7.5",
3434
"js-xlsx":"0.8.0"
3535
},
3636
"devDependencies": {

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
### 0.1.3 "Vaticano" (08.05.2015 - 09.05.2015)
4+
* Check for null values for SEACRH
5+
* ORDER BY for SEARCH operator
6+
* Brackets for SEARCH selectors (WITH() selector)
7+
* SEARCH DISTINCT, UNION ALL, UNION selectors
8+
* Added simple PATH() selector
9+
310
### 0.1.2 "Firenze" (06.05.2015 - 07.05.2015)
411
* Simple compilation of SEARCH operator
512
* SUM(),COUNT(),MIN(),MAX(),FIRST(),LAST() search aggregators

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# AlaSQL.js - JavaScript SQL database library for relational and graph data with support of localStorage, IndexedDB, and Excel
1+
# AlaSQL.js - JavaScript SQL database library for relational and graph data manipulation with support of localStorage, IndexedDB, and Excel
22

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

55
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.
66

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

5050
## What is new?
5151

52+
### Search paths in graph
53+
54+
Now you can search graphs with SEARCH operator:
55+
```js
56+
var res = alasql('CREATE GRAPH Pablo, Maxim, Alex, Napoleon, \
57+
Josephine, Kate, Julia {age:27}, Paloma, \
58+
#Pablo >loves> #Julia, #Maxim >> #Julia, #Alex >> #Kate, \
59+
#Kate >> #Julia, #Alex >> #Paloma, #Napoleon > "loves" > #Josephine, \
60+
#Josephine >"knows"> #Pablo');
61+
62+
var res = alasql('SEARCH #Napoleon PATH(#Pablo) name');
63+
// returns ['loves','Josephine','knows','Pablo']
64+
```
65+
You can play with grpahs in AlaSQL in [this jsFiddle example](http://jsfiddle.net/fgzya692/1/).
66+
5267
### Documents and graphs paradigms
5368

5469
AlaSQL now is multi-paradigm database with support documents and graphs. Below you can find an example

alasql.js

Lines changed: 861 additions & 586 deletions
Large diffs are not rendered by default.

console/alasql.min.js

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/alasql.js

Lines changed: 861 additions & 586 deletions
Large diffs are not rendered by default.

dist/alasql.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/alasql.min.js

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "alasql",
33
"description": "AlaSQL.js - JavaScript SQL database library for relational and graph data with support of localStorage, IndexedDB, and Excel",
4-
"version": "0.1.2",
4+
"version": "0.1.3",
55
"author": "Andrey Gershun <[email protected]>",
66
"directories": {
77
"example": "examples",

src/05copyright.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//
22
// alasql.js
33
// AlaSQL - JavaScript SQL database
4-
// Date: 7.05.2015
5-
// Version: 0.1.2
4+
// Date: 9.05.2015
5+
// Version: 0.1.3
66
// (ñ) 2014-2015, Andrey Gershun
77
//
88

0 commit comments

Comments
 (0)