alasql 0.0.50 → 0.0.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/.bower.json +44 -3
  2. package/CHANGELOG.md +9 -0
  3. package/README.md +13 -4
  4. package/RELEASES.md +4 -2
  5. package/alasql.js +772 -598
  6. package/console/alasql.js +8 -8
  7. package/console/alasql.min.js +9 -9
  8. package/dist/alasql-worker.js +1 -1
  9. package/dist/alasql.js +772 -598
  10. package/dist/alasql.js.map +1 -1
  11. package/dist/alasql.min.js +9 -9
  12. package/examples/country/city.js +16 -0
  13. package/examples/nodesample.js +16 -0
  14. package/examples/other/test.js +20 -0
  15. package/examples/param.js +4 -0
  16. package/examples/promise.js +10 -0
  17. package/examples/simple/ex102.js +10 -0
  18. package/examples/simple/jquery.js +6 -0
  19. package/examples/sqlite/test.js +5 -0
  20. package/gulpfile.js +386 -0
  21. package/package.json +1 -1
  22. package/src/05copyright.js +1 -1
  23. package/src/10start.js +1 -1
  24. package/src/15utility.js +3 -3
  25. package/src/17alasql.js +6 -0
  26. package/src/38query.js +56 -9
  27. package/src/39dojoin.js +4 -1
  28. package/src/40select.js +55 -17
  29. package/src/420from.js +17 -4
  30. package/src/421join.js +14 -4
  31. package/src/423groupby.js +5 -3
  32. package/src/424select.js +36 -5
  33. package/src/55functions.js +12 -0
  34. package/src/70insert.js +1 -1
  35. package/src/72delete.js +206 -0
  36. package/src/84from.js +1 -0
  37. package/src/alasqlparser.jison +27 -7
  38. package/src/alasqlparser.js +560 -549
  39. package/test/callback/cb1.js +59 -0
  40. package/test/callback/cb2.js +45 -0
  41. package/test/future/test119.js +77 -0
  42. package/test/future/test123.js +91 -0
  43. package/test/future/test131.js +30 -0
  44. package/test/future/test132.js +69 -0
  45. package/test/future/test134.js +51 -0
  46. package/test/future/test135.js +28 -0
  47. package/test/future/test136.js +23 -0
  48. package/test/future/test147.js +27 -0
  49. package/test/graph/CREATE CLASS G1 +39 -0
  50. package/test/graph/README.md +3 -0
  51. package/test/graph/SEARCH.md +110 -0
  52. package/test/graph/idea.txt +22 -0
  53. package/test/graph/ides 150428.txt +24 -0
  54. package/test/graph/index.html +68 -0
  55. package/test/graph/miserables.json +337 -0
  56. package/test/index.html +10 -1
  57. package/test/minisql/minisql.js +377 -0
  58. package/test/test018.js +0 -3
  59. package/test/test132.js +18 -1
  60. package/test/test193.js +1 -1
  61. package/test/test240.js +132 -0
  62. package/test/test245.js +100 -0
  63. package/test/test247.js +84 -0
  64. package/test/test266.js +117 -0
  65. package/test/test267.js +79 -0
  66. package/test/test268.js +92 -0
  67. package/test/test269.js +123 -0
  68. package/test/test270.js +299 -0
  69. package/test/test271.js +22 -0
  70. package/test/test272.js +66 -0
  71. package/test/test273.js +69 -0
  72. package/test/test274.js +31 -0
package/.bower.json CHANGED
@@ -1,9 +1,29 @@
1
1
  {
2
2
  "name": "alasql",
3
3
  "description":"AlaSQL - JavaScript SQL database library",
4
- "version": "0.0.49",
4
+ "version": "0.0.51",
5
5
  "license": "MIT",
6
- "keywords": ["javascript","sql","database","indexeddb","excel","localstorage"],
6
+ "keywords": [
7
+ "sql",
8
+ "nosql",
9
+ "alasql",
10
+ "javascript",
11
+ "parser",
12
+ "database",
13
+ "DBMS",
14
+ "data",
15
+ "query",
16
+ "localStorage",
17
+ "IndexedDB",
18
+ "DOM-storage",
19
+ "SQLite",
20
+ "JSON",
21
+ "Excel",
22
+ "XLSX",
23
+ "XLS",
24
+ "CSV",
25
+ "worker"
26
+ ],
7
27
  "authors": ["Andrey Gershun <agershun@gmail.com>"],
8
28
  "homepage": "alasql.org",
9
29
  "repository": {
@@ -11,7 +31,28 @@
11
31
  "url": "https://github.com/agershun/alasql.git"
12
32
  },
13
33
  "dependencies": {
34
+ "dom-storage":"2.0.1",
35
+ "xlsjs":"0.7.15",
36
+ "xlsx":"0.8.0"
14
37
  },
15
38
  "devDependencies": {
16
- }
39
+ "gulp":"3.8.11",
40
+ "gulp-changed":"1.2.1",
41
+ "gulp-concat-sourcemap":"1.3.1",
42
+ "gulp-shell":"0.4.1",
43
+ "jison":"0.4.15",
44
+ "lodash":"3.7.0",
45
+ },
46
+ "ignore": [
47
+ "src",
48
+ "test",
49
+ "test-sql",
50
+ "node_modules",
51
+ "bower.json",
52
+ "gruntfile.js",
53
+ "package.json",
54
+ "README.md",
55
+ "bin",
56
+ "lib"
57
+ ]
17
58
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ### 0.0.51 "Rimini" (23.04.2015 - 02.05.2015)
4
+ * alasql.options.modifier flag added
5
+ * alasql.options.columnlookup flag added
6
+ * SELECT * REMOVE COLUMNS a,b
7
+ * SELECT * REMOVE COLUMNS LIKE 'b%'
8
+ * Remove columns from .columns schema
9
+ * Custom aggregators - added additional calls (init and in the cycle)
10
+ * Added MEDIAN() aggregator
11
+
3
12
  ### 0.0.50 "Seoul" (21.04.2015 - 22.04.2015)
4
13
  * CREATE VERTEX and CREATE EDGE syntax
5
14
  * Fixed MIN and MAX functions and aggregators #93
package/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # AlaSQL.js - JavaScript SQL database library with support of localStorage, IndexedDB, and Excel
2
2
 
3
- Version: 0.0.50 "Seoul" Date: April 22, 2015 [Change log](CHANGELOG.md), [Release plan](RELEASES.md)
4
-
5
- Please use [AlaSQL Forum](https://groups.google.com/d/forum/alasql) for discussions or [Issues](https://github.com/agershun/alasql/issues) to report bugs.
3
+ Version: 0.0.51 "Rimini" Date: May 2, 2015 [Change log](CHANGELOG.md), [Release plan](RELEASES.md)
6
4
 
7
5
  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.
8
6
 
@@ -20,6 +18,11 @@ AlaSQL is easy to use! Just add [alasql.min.js](alasql.min.js) file (about 280Kb
20
18
  ```
21
19
  Run this sample in [jsFiddle](http://jsfiddle.net/agershun/15r1y9hg/) or try it in <a href="http://alasql.org/console?CREATE TABLE cities (city string, population number);INSERT INTO cities VALUES ('Rome',2863223), ('Paris',2249975),('Berlin',3517424), ('Madrid',3041579);SELECT * FROM cities WHERE population < 3500000 ORDER BY population DESC">AlaSQL console</a>.
22
20
 
21
+ Please use:
22
+ * [AlaSQL Forum](https://groups.google.com/d/forum/alasql) for discussions
23
+ * [Issues](https://github.com/agershun/alasql/issues) to report bugs.
24
+ * [Feathub](http://feathub.com/agershun/alasql) Please, vote for new features
25
+
23
26
  ## Documentation
24
27
 
25
28
  * [AlaSQL Wiki](https://github.com/agershun/alasql/wiki)
@@ -695,7 +698,13 @@ Probably, there are many of others. Please, [give me a chance](https://github.co
695
698
 
696
699
  ### Future Plans
697
700
 
698
- Read my [to do](TODO.md) page
701
+ Read my [to do](TODO.md) page - there are also the community generated feature requests here:
702
+
703
+ [![Feature Requests](http://feathub.com/agershun/alasql?format=svg)](http://feathub.com/agershun/alasql)
704
+
705
+ Take charge and vote on your favorite.
706
+
707
+
699
708
 
700
709
  ### Similar and related projects
701
710
 
package/RELEASES.md CHANGED
@@ -14,5 +14,7 @@
14
14
 
15
15
  ## Next Releases:
16
16
 
17
- ### Version "Chess" 0.1.0 (20.04.2015)
18
-
17
+ ### Version "Bernini" 0.1.0 (9.05.2015)
18
+ * Recordset columns
19
+ * UNION bug fixed
20
+ * IE9 save file problem fixed