Skip to content

Commit

Permalink
Prepare version
Browse files Browse the repository at this point in the history
  • Loading branch information
agershun committed May 28, 2015
1 parent b42e65f commit a4b7c82
Show file tree
Hide file tree
Showing 17 changed files with 42 additions and 15,351 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# Changelog

### 0.1.8 "Pisa" (22.05.2015 - 24.05.2015)
### 0.1.8 "Pisa" (22.05.2015 - 28.05.2015)
* SELECT FROM syntax
* Export to multiple sheets workbook
* SQL-99 features list
* Changed README.md
* PEOPLE.md moved to wiki
* VALUE OF SELECT operator
* bitHound file


### 0.1.7 "Parma" (17.05.2015 - 22.05.2015)
* Fixed BETWEEN AND and AND parsing priority bug (KPI1:95%)
Expand Down
43 changes: 0 additions & 43 deletions PEOPLE.md

This file was deleted.

30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@



AlaSQL - ([à la] (http://en.wiktionary.org/wiki/%C3%A0_la) SQL) **[ælæ ɛskjuɛl]** - is probably the most versatile JavaScript SQL database solution out there:
AlaSQL - ([à la] (http://en.wiktionary.org/wiki/%C3%A0_la) [SQL](http://en.wikipedia.org/wiki/SQL)) **[æl'æ 'ɛs kju: ɛl]** - is probably the most versatile JavaScript SQL database solution out there:

- Supporting SQL querying against several backend as SQLite, localStorage, IndexedDB, Excel, or your own JSON object.
- Designed to work in your browser, Node.js, and Apache Cordova.
Expand Down Expand Up @@ -518,7 +518,7 @@ Try AlaSQL in console:
* [Console source code](console/index.html)
* [Alacon](alacon.js) - command-line AlaSQL console (to run: ```alacon "sql-statement" params...```)
* [Alaserver](alaserver.js) - very simple AlaSQL-server (to run: ```alaserver```, then
type in browser "http://127.0.0.1:1337/?SELECT VALUE 2*2" )
type in browser "http://127.0.0.1:1337/?=2*2" )

Try AlaSQL in Fiddle:
* Simple examples: [sample 1](http://jsfiddle.net/38hj2uwy/10/), [sample 2](http://jsfiddle.net/38hj2uwy/6/), [sample 3](http://jsfiddle.net/6a06dqhc/3/), [sample 4](http://jsfiddle.net/606ksx2g/1/), [sample 5](http://jsfiddle.net/agershun/38hj2uwy/40/)
Expand Down Expand Up @@ -622,10 +622,10 @@ Functions:
* GREATEST(), LEAST()

SELECT modifiers (non-standard SQL):
* SELECT VALUE - get single value
* SELECT ROW - get first row as an array
* SELECT COLUMN - get first column as an array
* SELECT MATRIX - get all results as an array of arrays
* VALUE OF SELECT- get single value
* ROW OF SELECT - get first row as an array
* COLUMN OF SELECT - get first column as an array
* MATRIX OF SELECT - get all results as an array of arrays

#### User-defined JavaScript functions

Expand Down Expand Up @@ -784,7 +784,7 @@ AlaSQL extends "good old" SQL to make it closer to JavaScript. The "sugar" inclu
* Object propertires - ```obj->property->subproperty```
* Object and arrays elements - ```obj->(a*1)```
* JavaScript functions - ```obj->valueOf()```
* SELECT VALUE, ROW, COLUMN, MATRIX to format results of query
* VALUE, ROW, COLUMN, MATRIX OF SELECT to format results of query

### Transactions

Expand Down Expand Up @@ -853,19 +853,19 @@ See [test157.js](test/test157.js) as an example.

You can use JSON objects in your databases (do not forget use == and !== operators for deep comparision of objects):
```sql
alasql> SELECT VALUE @{a:1,b:2}
alasql> VALUE OF SELECT @{a:1,b:2}

{a:1,b:2}

alasql> SELECT VALUE @{a:1,b:2} == @{a:1,b:2}
alasql> = @{a:1,b:2} == @{a:1,b:2}

true

alasql> SELECT VALUE @{a:1,b:2}->b
alasql> = @{a:1,b:2}->b

2

alasql> SELECT VALUE @{a:1,b:(2*2)}->b
alasql> = @{a:1,b:(2*2)}->b

4

Expand All @@ -876,11 +876,11 @@ Try AlaSQL JSON objects in Console [sample](http://alasql.org/console?drop tabl

You can use AlaSQL from the command-line:
```sql
> alacon "SELECT VALUE 1+1"
> alacon "= 1+1"
2
> alacon "SELECT VALUE 1+?" 2
> alacon "= 1+?" 2
3
> alacon "@{a:(1+?)}" 3
> alacon "VALUES OF SELECT @{a:(1+?)}" 3
4
```

Expand All @@ -892,7 +892,7 @@ To run enter the command:
```
alaserver [port]
```
then type in browser something like "http://127.0.0.1:1337/?SELECT VALUE 2*2"
then type in browser something like "http://127.0.0.1:1337/?= 2*2"

Warning: Alaserver is not multi-thread, not concurent, and not secured.

Expand Down
87 changes: 0 additions & 87 deletions console/alasql-worker.js

This file was deleted.

3 changes: 0 additions & 3 deletions console/alasql-worker.min.js

This file was deleted.

Loading

0 comments on commit a4b7c82

Please sign in to comment.