Commit graph

31 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
1da702e04b Allow SQL USE queries to run inside transactions 2019-01-31 09:51:54 +00:00
Tobie Morgan Hitchcock
7c962f7bdc Add SQL OPTION query statement 2019-01-31 09:47:52 +00:00
Tobie Morgan Hitchcock
261aff0ee2 Use ‘access’ variable name instead of ‘options’ on parser object 2019-01-09 17:14:13 +00:00
Tobie Morgan Hitchcock
be832029a7 Remove google and syslog logging 2018-04-05 08:51:44 +01:00
Tobie Morgan Hitchcock
b54e551353 No need to pass sql.parser into sql.scanner 2018-01-10 13:07:09 +00:00
Tobie Morgan Hitchcock
1d08949fff Full update of the SQL package 2017-11-16 20:53:13 +00:00
Tobie Morgan Hitchcock
a96a8466cb Add initial golang code tracing and logging 2017-03-03 21:39:37 +00:00
Tobie Morgan Hitchcock
d27e00e737 Fix sql tests 2017-02-23 15:09:02 +00:00
Tobie Morgan Hitchcock
90953735d9 DEFINE and REMOVE SQL queries can not be inside transactions 2016-11-26 13:05:21 +00:00
Tobie Morgan Hitchcock
b720213bd4 Perform authentication access checks in SQL layer 2016-11-04 11:25:53 +00:00
Tobie Morgan Hitchcock
e0bcd5ff37 No need to create extra variable 2016-11-04 10:02:00 +00:00
Tobie Morgan Hitchcock
68c22bc25c Add subqueries, subexpressions, and paths to SQL 2016-11-04 09:58:11 +00:00
Tobie Morgan Hitchcock
feea12f93d Remove unused and backup SQL keywords 2016-10-30 14:05:29 +00:00
Tobie Morgan Hitchcock
151d73b954 Remove MODIFY SQL command and add DIFF to UPDATE
MODIFY SQL statements have now been merged with UPDATE SQL statements, as the functionality was similar, but the code was duplicated.

The DIFF SQL command has been added to the UPDATE query, so that records can be updated with DIFFs.
2016-10-30 00:33:28 +01:00
Tobie Morgan Hitchcock
174cc8bcad Add SQL LET statements with bound parameters 2016-10-29 12:28:20 +01:00
Tobie Morgan Hitchcock
6da2e371ca Remove RECORD keyword 2016-10-14 07:54:26 +01:00
Tobie Morgan Hitchcock
dd79f3c440 Remove SQL RECORD statement 2016-10-07 14:21:01 +01:00
Tobie Morgan Hitchcock
f37ec653d1 Remove SQL EXPLAIN command 2016-09-21 00:34:21 +01:00
Tobie Morgan Hitchcock
ab30c6b85e Add SQL INFO query command 2016-09-19 11:08:44 +01:00
Tobie Morgan Hitchcock
974f75eea0 Uunexport methods which don’t need to be public 2016-09-14 22:21:25 +01:00
Tobie Morgan Hitchcock
48b644f399 Remove RESYNC INDEX command 2016-09-14 10:23:57 +01:00
Tobie Morgan Hitchcock
1219b3825f Use values parsed in scanner instead of reparsing 2016-09-07 16:53:04 +01:00
Tobie Morgan Hitchcock
af4281c920 Enable bound parameters in sql queries 2016-09-07 16:44:23 +01:00
Tobie Morgan Hitchcock
96b44a8da6 Move standalone methods to parser class, and allow scanner to access parser 2016-09-07 16:40:05 +01:00
Tobie Morgan Hitchcock
08943946a9 Improvements on sql parser 2016-09-06 14:30:59 +01:00
Tobie Morgan Hitchcock
8431079025 Enable comments in SQL code 2016-07-21 22:45:35 +01:00
Tobie Morgan Hitchcock
5e6f2f9c5a Update sql package 2016-05-23 13:32:02 +01:00
Tobie Morgan Hitchcock
d708dab39e ParseString / ParseBuffer as standalone functions in parser package 2016-02-27 12:35:13 +00:00
Tobie Morgan Hitchcock
07da6b637d Ensure empty queries cause errors 2016-02-27 12:05:35 +00:00
Tobie Morgan Hitchcock
fc543e422c Remove INSERT and UPSERT sql commands 2016-02-27 09:44:49 +00:00
Tobie Morgan Hitchcock
89b71cbe72 Add initial sql parser code 2016-02-26 17:27:07 +00:00