Commit graph

21 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
a3787ad274 Simplify and improve internal SQL AST structures 2018-08-20 00:21:35 +01:00
Tobie Morgan Hitchcock
c0f9ec1f26 Implement PARALLEL keyword on queries 2018-07-17 09:35:36 +01:00
Tobie Morgan Hitchcock
1f30035899 Add SQL FETCH functionality to SELECT statements 2018-04-22 00:10:52 +01:00
Tobie Morgan Hitchcock
ac19b552e5 Add SQL RUN query statement type 2018-04-14 17:55:05 +01:00
Tobie Morgan Hitchcock
3f7d7fc863 Add fuzzy string search to conditional SQL clauses 2018-04-13 20:34:52 +01:00
Tobie Morgan Hitchcock
84b9cdc93a Fix binary equality tree parsing and calculations. 2017-12-06 20:18:57 +00:00
Tobie Morgan Hitchcock
ccdc6fb8ea Add ability to define the order fields are processed 2017-12-05 01:57:25 +00:00
Tobie Morgan Hitchcock
ba4af9a305 Remove unused SQL keyword 2017-11-28 19:02:11 +00:00
Tobie Morgan Hitchcock
1d08949fff Full update of the SQL package 2017-11-16 20:53:13 +00:00
Tobie Morgan Hitchcock
dacf7b954b Enable WITH aswell as TO in RELATE clause 2017-04-28 17:07:38 +01:00
Tobie Morgan Hitchcock
aa7e4ac561 Enable model expressions in SQL parser
The SQL parser now supports model expressions for defining ranges using the |table:0,0.5..100| notation syntax.
2017-04-14 13:21:08 +01:00
Tobie Morgan Hitchcock
2de5a8fa3f Simplify parsing @table:thing definitions 2017-04-14 13:13:31 +01:00
Tobie Morgan Hitchcock
98db89a2d7 Implement query statement timeout functionality 2017-03-02 14:38:56 +00:00
Tobie Morgan Hitchcock
2d5151c8ba Enable SQL AST string formatting 2017-03-02 10:47:10 +00:00
Tobie Morgan Hitchcock
e4bef0c4b7 Differentiate between IDENT and EXPR in SQL
Previously it was possible to CREATE/UPDATE/DELETE path expressions as this would satisfy an IDENT in the SQL parser.

Now however, there is a difference between an IDENT and an EXPR…

IDENT: person | person_main | person123
EXPR: person | person.path | person[0].path

As a result, path expressions are only possible when setting data or setting conditional conditions.
2017-02-24 13:05:07 +00:00
Tobie Morgan Hitchcock
e10debba6c Enable query params for USE NS / USE DB in queries 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
fbe34c6083 Add PERMISSIONS and remove DEFINE / REMOVE RULES 2016-11-26 13:39:03 +00:00
Tobie Morgan Hitchcock
75b5f2f412 Improve SQL DEFINE TOKEN statements 2016-11-22 19:10:42 +00:00
Tobie Morgan Hitchcock
063de926ed Improve SQL DEFINE LOGIN statements 2016-11-22 19:10:32 +00:00
Tobie Morgan Hitchcock
19650ab770 Remove POLICY from SQL DEFINE SCOPE statement 2016-11-21 18:43:15 +00:00
Tobie Morgan Hitchcock
3038b6adec Rename file 2016-11-13 19:21:34 +00:00
Renamed from sql/token.go (Browse further)