Commit graph

3317 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
68c22bc25c Add subqueries, subexpressions, and paths to SQL 2016-11-04 09:58:11 +00:00
Tobie Morgan Hitchcock
28d1806785 Simplify JSON expression parsing 2016-11-04 09:45:11 +00:00
Tobie Morgan Hitchcock
28c70a792a Fix typo 2016-11-04 09:42:12 +00:00
Tobie Morgan Hitchcock
45be69637e Add ‘record’ as a field type 2016-11-04 09:42:00 +00:00
Tobie Morgan Hitchcock
1733f84070 Enable main SQL commands to be within subqueries 2016-11-03 17:20:18 +00:00
Tobie Morgan Hitchcock
dd21b8879a Only do function argument checking in sql parser 2016-11-03 17:16:08 +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
4db1bbe944 Improve sql query error messages 2016-11-01 22:57:27 +00:00
Tobie Morgan Hitchcock
7e9c595ff7 Add blueprint for RELATE SQL query 2016-10-30 16:59:16 +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
98ea65889a Update 3rd party dependencies 2016-10-29 18:47:24 +01:00
Tobie Morgan Hitchcock
872f4abf43 Update SQL package tests 2016-10-29 18:47:09 +01:00
Tobie Morgan Hitchcock
d4491d557b Support JSON and ARRAYS in RETURN statements 2016-10-29 18:46:48 +01:00
Tobie Morgan Hitchcock
ca1ff0d62a Update 3rd party dependencies 2016-10-29 12:46:39 +01:00
Tobie Morgan Hitchcock
bb6387c69b Add invisible meta object on items 2016-10-29 12:46:22 +01:00
Tobie Morgan Hitchcock
8eaa4e6eda User lowercase json keys for before+after 2016-10-29 12:45:02 +01:00
Tobie Morgan Hitchcock
c08e9d69c9 Use actual @things not strings for item ids 2016-10-29 12:44:49 +01:00
Tobie Morgan Hitchcock
d37862e385 Add conditional checking for @things 2016-10-29 12:44:00 +01:00
Tobie Morgan Hitchcock
6077dc2952 Add SQL RETURN statements 2016-10-29 12:29:20 +01:00
Tobie Morgan Hitchcock
174cc8bcad Add SQL LET statements with bound parameters 2016-10-29 12:28:20 +01:00
Tobie Morgan Hitchcock
cc74e7a67e Use interface type for @thing TB 2016-10-29 11:38:52 +01:00
Tobie Morgan Hitchcock
abf9c937be Ensure @thing:id is int64 if whole number 2016-10-29 10:20:10 +01:00
Tobie Morgan Hitchcock
67c32e5eea Improve query transaction support 2016-10-27 09:35:20 +01:00
Tobie Morgan Hitchcock
c997f89a2a Remove fullstop from error message 2016-10-26 22:24:01 +01:00
Tobie Morgan Hitchcock
b9233ce966 Update 3rd party dependencies 2016-10-26 19:56:08 +01:00
Tobie Morgan Hitchcock
0af761d2db Improve embedded field checking and defaults 2016-10-24 17:03:28 +01:00
Tobie Morgan Hitchcock
6bf826c466 Enable path walking with a callback function 2016-10-24 14:16:53 +01:00
Tobie Morgan Hitchcock
fd540a5237 Enable checking for existing and non-null items 2016-10-24 14:16:42 +01:00
Tobie Morgan Hitchcock
99d9657d80 Enable getting array items directly 2016-10-24 14:16:14 +01:00
Tobie Morgan Hitchcock
4951aa61f6 Enable double slash single line comments 2016-10-24 12:11:12 +01:00
Tobie Morgan Hitchcock
4c8d5213dc Add double FIELD TYPE and improve type checking 2016-10-20 14:14:10 +01:00
Tobie Morgan Hitchcock
543e864ed8 Update 3rd party dependencies 2016-10-18 15:04:56 +01:00
Tobie Morgan Hitchcock
2290a95ec6 Add SQL SCOPE query type 2016-10-18 14:27:17 +01:00
Tobie Morgan Hitchcock
7556a77df0 Improve transactions 2016-10-18 13:49:46 +01:00
Tobie Morgan Hitchcock
6075e4d1d7 Ensure NS KV is added when defining 2016-10-18 13:48:07 +01:00
Tobie Morgan Hitchcock
f681b83ee7 Add dependency update command to Makefile 2016-10-16 11:43:45 +01:00
Tobie Morgan Hitchcock
4f50039c8c Update cork 3rd party dependency 2016-10-15 17:06:53 +01:00
Tobie Morgan Hitchcock
0e3411dcc5 Update 3rd party dependencies 2016-10-14 23:02:14 +01:00
Tobie Morgan Hitchcock
8991586a0b Add basic JSON DPM package (ROUGH) 2016-10-14 23:02:01 +01:00
Tobie Morgan Hitchcock
fd0ce5ea71 Improve item package 2016-10-14 23:01:44 +01:00
Tobie Morgan Hitchcock
27b975fb71 Remove custom code from rules checker 2016-10-14 22:57:26 +01:00
Tobie Morgan Hitchcock
11ce932f89 Remove old Newrelic integration 2016-10-14 22:55:28 +01:00
Tobie Morgan Hitchcock
4d70f021a3 Use updated fibre library 2016-10-14 22:55:17 +01:00
Tobie Morgan Hitchcock
096c41d91d Accept CBOR Content-Type 2016-10-14 22:54:54 +01:00
Tobie Morgan Hitchcock
f36404158d Improve web errors 2016-10-14 22:54:32 +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
d66e5d1a01 Update queries design document 2016-10-14 22:25:04 +01:00
Tobie Morgan Hitchcock
a38e337513 Add SQL SCOPE query ast 2016-10-14 22:21:25 +01:00
Tobie Morgan Hitchcock
8ebc77465c Add SQL LIVE query ast 2016-10-14 22:21:17 +01:00