Commit graph

39 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
ef9c73d4d7 Make SQL parser stateless 2019-01-31 12:38:23 +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
918c696eb1 Complete functionality to define scope tokens 2018-09-13 17:34:27 +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
a569ad78d6 Improve statement read/write status detection
Only store read-write statement status in the database for statements which can be either read or write. For those statements which are always write statements (Live, Kill, Create, Update, Delete, Relate, Insert, Upsert, Define, Remove….), then hardcode this on the statement itself.
2017-11-24 12:56:53 +00:00
Tobie Morgan Hitchcock
1d08949fff Full update of the SQL package 2017-11-16 20:53:13 +00:00
Tobie Morgan Hitchcock
2d5151c8ba Enable SQL AST string formatting 2017-03-02 10:47:10 +00:00
Tobie Morgan Hitchcock
75b5f2f412 Improve SQL DEFINE TOKEN statements 2016-11-22 19:10:42 +00:00
Tobie Morgan Hitchcock
8cdae77483 Generate token keys in SQL and store as binary 2016-11-22 13:51:21 +00:00
Tobie Morgan Hitchcock
5bfe938fcf Enable authentication tokens on SCOPES 2016-11-21 18:58:07 +00:00
Tobie Morgan Hitchcock
cf79487b81 Add SQL DEFINE TOKEN statement 2016-11-16 22:47:23 +00:00
Tobie Morgan Hitchcock
3038b6adec Rename file 2016-11-13 19:21:34 +00:00
Tobie Morgan Hitchcock
45b06dfd9b Remove unused SQL tokens 2016-11-10 12:36:01 +00:00
Tobie Morgan Hitchcock
57f49576db Serialize and deserialize Tokens as strings 2016-11-04 11:16:41 +00:00
Tobie Morgan Hitchcock
b5da299ea3 Add CORK self encoding to SQL objects 2016-11-04 10:01:32 +00:00
Tobie Morgan Hitchcock
3b20033ebf Update PATH token types
Remove unused PATH token and move EDGE tokens to literals.
2016-11-03 08:13:34 +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
2290a95ec6 Add SQL SCOPE query type 2016-10-18 14:27:17 +01:00
Tobie Morgan Hitchcock
b5ff2cc1cb Enable text formatting for some sql ast structs 2016-10-14 22:53:27 +01:00
Tobie Morgan Hitchcock
a4520ca669 Add reserved keywords for SCOPE queries 2016-10-14 22:21:05 +01:00
Tobie Morgan Hitchcock
99012cb015 Add LIVE as reserved sql keyword 2016-10-14 22:17:58 +01:00
Tobie Morgan Hitchcock
4e20db990a Add IF to sql reserved words 2016-10-14 22:06:05 +01:00
Tobie Morgan Hitchcock
a16f7b2aba Add SCHEMALESS / SCHEMAFULL support to queries 2016-10-14 21:31:45 +01:00
Tobie Morgan Hitchcock
6da2e371ca Remove RECORD keyword 2016-10-14 07:54:26 +01:00
Tobie Morgan Hitchcock
66f09db9f5 Add SQL VIEWs 2016-09-21 00:36:37 +01:00
Tobie Morgan Hitchcock
f37ec653d1 Remove SQL EXPLAIN command 2016-09-21 00:34:21 +01:00
Tobie Morgan Hitchcock
20fe168587 Remove unused EAT @ token 2016-09-20 14:03:53 +01:00
Tobie Morgan Hitchcock
ab30c6b85e Add SQL INFO query command 2016-09-19 11:08:44 +01:00
Tobie Morgan Hitchcock
9940640a45 Remove unused token 2016-09-14 21:50:04 +01:00
Tobie Morgan Hitchcock
19d7c2a14e Don’t embed document data 2016-09-14 21:46:23 +01:00
Tobie Morgan Hitchcock
48b644f399 Remove RESYNC INDEX command 2016-09-14 10:23:57 +01:00
Tobie Morgan Hitchcock
af4281c920 Enable bound parameters in sql queries 2016-09-07 16:44:23 +01:00
Tobie Morgan Hitchcock
08943946a9 Improvements on sql parser 2016-09-06 14:30:59 +01:00
Tobie Morgan Hitchcock
f57e042aa4 Remove sql tests for CIPHERKEY 2016-07-21 22:43:52 +01:00
Tobie Morgan Hitchcock
88b59dc81e Update sql package for alpha testing 2016-07-04 11:37:37 +01:00
Tobie Morgan Hitchcock
5e6f2f9c5a Update sql package 2016-05-23 13:32:02 +01:00
Tobie Morgan Hitchcock
6b6755695b Add set ∋ / ∌ to SQL where clauses 2016-02-26 17:45:40 +00:00
Tobie Morgan Hitchcock
89b71cbe72 Add initial sql parser code 2016-02-26 17:27:07 +00:00