1.5.0 • Published 7 years ago
sql2adt v1.5.0
sql2adt
Run SQL queries against ADT files in Node.js.
Supported SQL clauses (examples):
SELECT t1.Column1 AS col1 FROM table1 AS t1SELECT ROWINDEX AS rownumINNER JOIN table2 AS t2 ON t1.id = t2.idWHERE t1.x >= 'aaa' AND t1.x <= 'zzz'LIMIT 5OFFSET 10
Restrictions:
- Table names, column names and aliases must conform to
[A-Za-z_][A-Za-z_0-9]*. - Columns in the
SELECTclause must have aliases. - The
WHEREclause only supports basic relative operators andAND. ROWINDEX,LIMITandOFFSETmay only be used in queries on a single table with noWHEREclause.
For more examples of valid and invalid queries, consult the unit tests.
1.5.0
7 years ago
1.4.1
7 years ago
1.4.0
7 years ago
1.2.7
7 years ago
1.2.6
7 years ago
1.2.5
7 years ago
1.2.2
7 years ago
1.2.1
7 years ago
1.2.0
7 years ago
1.1.2
7 years ago
1.1.1
7 years ago
1.1.0
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago
0.0.5
8 years ago
0.0.4
9 years ago
0.0.3
9 years ago
0.0.2
9 years ago
0.0.1
9 years ago