Commit graph

275 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
f5bb7ad255 Ensure Points are Longitude/Latitude 2021-06-01 16:25:54 +01:00
Tobie Morgan Hitchcock
e2635e8cf9 Fix bug with record id parsing 2021-05-13 10:09:51 +01:00
Tobie Morgan Hitchcock
02bacf121c Add geometry contains + inside database functions 2021-05-13 01:28:13 +01:00
Tobie Morgan Hitchcock
97513cdb65 Fix Thing parsing for record IDs 2021-05-12 16:37:50 +01:00
Tobie Morgan Hitchcock
d2ad045d4d Update dependencies 2020-12-09 22:21:16 +00:00
Tobie Morgan Hitchcock
6417cd2c2c Fix SQL parsing of JSON strings 2020-11-19 21:41:49 +00:00
Tobie Morgan Hitchcock
26b08c94e8 Update dependencies 2020-11-16 08:48:02 +00:00
Tobie Morgan Hitchcock
2ef562de06 Remove PARALLEL option from SQL commands 2020-03-06 15:44:53 +00:00
Tobie Morgan Hitchcock
dc48c16f1f Remove json.encode and json.decode functions 2020-02-17 13:36:04 +00:00
Tobie Morgan Hitchcock
19635d98e4 Update comments 2019-12-08 13:51:49 +00:00
Tobie Morgan Hitchcock
24c11f97f6 Update dependencies 2019-11-28 17:34:49 +00:00
Tobie Morgan Hitchcock
536493ef45 Ensure sub-queries are correctly specified as read of write 2019-11-21 00:44:31 +00:00
Tobie Morgan Hitchcock
4e79fb34f3 Downgrade ugorji/codec 2019-11-20 14:16:56 +00:00
Tobie Morgan Hitchcock
d0d566bbd9 Improve database speed 2019-11-20 13:20:27 +00:00
Tobie Morgan Hitchcock
7de6f54547 Remove RETURN BOTH and RETURN DIFF 2019-11-18 11:29:30 +00:00
Tobie Morgan Hitchcock
f646d47e24 Update generated go code 2019-10-03 19:15:50 +01:00
Tobie Morgan Hitchcock
3f4d12ad2d Switch to go mod 2019-09-29 11:28:53 +01:00
Tobie Morgan Hitchcock
41a19a1708 Update generated codec code 2019-06-17 08:01:58 +01:00
Tobie Morgan Hitchcock
412ba4fc45 Update RELATE queries to newer syntax 2019-06-15 08:11:33 +01:00
Tobie Morgan Hitchcock
db1864224b Implement async document processing in queries 2019-06-14 18:33:41 +01:00
Tobie Morgan Hitchcock
1b0e9ce86f Ensure IF ELSE statements are not surrounded by brackets 2019-05-09 20:36:59 +01:00
Tobie Morgan Hitchcock
3f604c5087 Remove surrounding brackets from SQL IF string 2019-03-05 11:39:56 +00:00
Tobie Morgan Hitchcock
b5998496e0 Convert IfelExpression to SubExpression
Instead of having separate IfelExpression types, instead make IfelseStatement a subtype of SubExpression, and allow it without brackets.
2019-02-10 23:17:01 +00:00
Tobie Morgan Hitchcock
ae7b6ca0e4 Fix live queries 2019-02-06 08:08:07 +00:00
Tobie Morgan Hitchcock
1d988760b3 Update for go@1.11 2019-02-01 00:14:59 +00:00
Tobie Morgan Hitchcock
71192d2e36 Improve ORDER BY COLLATE queries 2019-02-01 00:12:10 +00:00
Tobie Morgan Hitchcock
ef9c73d4d7 Make SQL parser stateless 2019-01-31 12:38:23 +00:00
Tobie Morgan Hitchcock
26a2c01a9c Remove unused SQL types 2019-01-31 09:52:15 +00:00
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
62f02015ba Remove custom PARALLEL config support from queries 2019-01-23 00:16:46 +00:00
Tobie Morgan Hitchcock
971302ecf5 Implement SPLIT keyword in SELECT statement 2019-01-11 11:17:43 +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
33ba4d5de3 Enable using dollar symbol when defining a param variable 2019-01-08 15:51:53 +00:00
Tobie Morgan Hitchcock
0402d74708 Remove AND EXPUNGE clause from DELETE expression
When deleting records, it now removes and expunges document versions based on the table definition `DEFINE TABLE test VERSIONED` or `DEFINE TABLE test UNVERSIONED`, as opposed to the query being run. This prevents non-administrators from removing historic document data.
2018-12-31 07:46:44 +01:00
Tobie Morgan Hitchcock
38f0e3469e Add GROUP BY ALL to SQL SELECT queries 2018-10-24 12:25:07 +01:00
Tobie Morgan Hitchcock
30639a1ae9 Improve SQL INFO command 2018-10-24 11:29:43 +01:00
Tobie Morgan Hitchcock
20abadf41f Support exporting SQL LOGIN and SQL TOKEN hashes 2018-10-18 01:36:36 +01:00
Tobie Morgan Hitchcock
26b138b9b0 Simplify built-in database field types 2018-10-18 00:39:09 +01:00
Tobie Morgan Hitchcock
480ae04046 Add SQL functions time.wday() and time.yday() 2018-09-20 12:55:45 +01:00
Tobie Morgan Hitchcock
391fb53743 Add SQL function time.week() 2018-09-19 14:46:05 +01:00
Tobie Morgan Hitchcock
918c696eb1 Complete functionality to define scope tokens 2018-09-13 17:34:27 +01:00
Tobie Morgan Hitchcock
41c2fd0b3e Add scope tokens to SQL INFO queries 2018-09-13 16:08:52 +01:00
Tobie Morgan Hitchcock
9bab9f3ce7 Add SQL function string.slug 2018-09-11 13:28:45 +01:00
Tobie Morgan Hitchcock
bf4659d8f9 Add SQL export functionality 2018-08-20 07:53:11 +01:00
Tobie Morgan Hitchcock
8b0674c66d Add support for table versioning 2018-08-20 07:52:13 +01:00
Tobie Morgan Hitchcock
de925ae16e Ensure full duration values are parsed correctly 2018-08-20 07:32:21 +01:00
Tobie Morgan Hitchcock
05d4d97707 Support JSON unicode characters in SQL 2018-08-20 07:12:32 +01:00
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