Commit graph

2190 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
529acf65ff Improve make tasks 2016-09-28 18:07:08 +01:00
Tobie Morgan Hitchcock
1fd0ddafe4 Fix godoc comments 2016-09-28 12:33:07 +01:00
Tobie Morgan Hitchcock
701125b879 No need for ability to export as JSON 2016-09-28 12:32:41 +01:00
Tobie Morgan Hitchcock
bbae9a5fac Enable ability to RETURN INFO 2016-09-21 17:56:27 +01:00
Tobie Morgan Hitchcock
504c1b81e2 Simplify code 2016-09-21 00:37:03 +01:00
Tobie Morgan Hitchcock
36f65cbc3c Fix typoe in licence comment 2016-09-21 00:36:50 +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
bde073cd36 Update SQL ASTs 2016-09-21 00:25:39 +01:00
Tobie Morgan Hitchcock
7d5bff29aa Add additional sql functions 2016-09-21 00:24:03 +01:00
Tobie Morgan Hitchcock
20fe168587 Remove unused EAT @ token 2016-09-20 14:03:53 +01:00
Tobie Morgan Hitchcock
9436a752d8 Alow @thing to be used as DEFAULT values in fields 2016-09-19 14:47:11 +01:00
Tobie Morgan Hitchcock
94c0f32ae4 Add specific GOB encoding methods 2016-09-19 14:44:56 +01:00
Tobie Morgan Hitchcock
643750bc23 Update gitognore to ignore generated files 2016-09-19 13:33:05 +01:00
Tobie Morgan Hitchcock
93da1d16f3 No need for canonical encoding for storage 2016-09-19 12:03:03 +01:00
Tobie Morgan Hitchcock
aa4f788566 Use generic pack.Encode + pack.Decode methods 2016-09-19 12:02:42 +01:00
Tobie Morgan Hitchcock
3089b6460f Switch SQL RULES and SQL TABLE order 2016-09-19 11:12:08 +01:00
Tobie Morgan Hitchcock
ab30c6b85e Add SQL INFO query command 2016-09-19 11:08:44 +01:00
Tobie Morgan Hitchcock
486b666132 Simplify encoding of basic structs 2016-09-16 09:49:02 +01:00
Tobie Morgan Hitchcock
8d3319a7b4 Remove old RESYNC index code 2016-09-14 22:34:39 +01:00
Tobie Morgan Hitchcock
1606be22ff Output db.Response instead of generc interface 2016-09-14 22:34:26 +01:00
Tobie Morgan Hitchcock
ff8a2f03a9 Improve http error messages 2016-09-14 22:33:09 +01:00
Tobie Morgan Hitchcock
3db0d79443 Use proper db parameters 2016-09-14 22:32:52 +01:00
Tobie Morgan Hitchcock
ed474b8415 Simplify item ids 2016-09-14 22:28:00 +01:00
Tobie Morgan Hitchcock
58871a420a Update example query documentation 2016-09-14 22:27:34 +01:00
Tobie Morgan Hitchcock
1e000c2cc7 Don’t show anything on delete by default 2016-09-14 22:27:15 +01:00
Tobie Morgan Hitchcock
b04dfd1e9f Resync index on index creation 2016-09-14 22:27:00 +01:00
Tobie Morgan Hitchcock
dc3793d03d Use BINC encoding instead of MsgPACK for storage 2016-09-14 22:26:41 +01:00
Tobie Morgan Hitchcock
218ce8ad82 Simplify pack data encode/decode package 2016-09-14 22:25:18 +01:00
Tobie Morgan Hitchcock
fbc94f90e5 Pass old and new item data to rules checking code 2016-09-14 22:24:22 +01:00
Tobie Morgan Hitchcock
3bbfa7919a Update Statement ASTs 2016-09-14 22:23:02 +01:00
Tobie Morgan Hitchcock
1fc814bb43 Parse tables and @things better 2016-09-14 22:22:31 +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
9bbbf4491a Ensure parsed times are stored in UTC 2016-09-14 21:57:42 +01:00
Tobie Morgan Hitchcock
9940640a45 Remove unused token 2016-09-14 21:50:04 +01:00
Tobie Morgan Hitchcock
0a7e93d799 Allow bound params for DIFF, MERGE, CONTENT 2016-09-14 21:49:27 +01:00
Tobie Morgan Hitchcock
19d7c2a14e Don’t embed document data 2016-09-14 21:46:23 +01:00
Tobie Morgan Hitchcock
152c6524f5 Update README 2016-09-14 18:05:52 +01:00
Tobie Morgan Hitchcock
ed6a9555a1 Return an error when data is corrupt 2016-09-14 17:02:48 +01:00
Tobie Morgan Hitchcock
48b644f399 Remove RESYNC INDEX command 2016-09-14 10:23:57 +01:00
Tobie Morgan Hitchcock
7d452b610e Increase maximum body size on PUT/POST 2016-09-14 10:19:08 +01:00
Tobie Morgan Hitchcock
dfa9182711 Use deep copy instead of gob encode/decode 2016-09-12 16:47:22 +01:00
Tobie Morgan Hitchcock
c3ecaed152 Add package for deep copying 2016-09-12 16:47:07 +01:00
Tobie Morgan Hitchcock
6f9372cb66 Ignore indexes which don’t change
Diffs old index values with new index values, and removes those indexes which haven’t changed - preventing deleting and reinserting the same index, improving performance.
2016-09-10 01:33:11 +01:00
Tobie Morgan Hitchcock
2f12feeaaa Improve array, and interface encoding / decoding 2016-09-10 00:24:46 +01:00
Tobie Morgan Hitchcock
529ddbbec2 Encode all numbers as float64
All numbers in encoded keys are now encoded into float64, ensuring that decimal numbers are sorted alongside integers.

The maximum number able to be stored as a float64, without losing precision, is now (1<<53 - 1) - the same maximum number possible in javascript.
2016-09-10 00:21:58 +01:00
Tobie Morgan Hitchcock
0f420d2cae Add ability to get object keys and object values 2016-09-09 18:55:25 +01:00
Tobie Morgan Hitchcock
4836c498a4 Enable parsing tables as struct not string 2016-09-07 17:01:32 +01:00
Tobie Morgan Hitchcock
b82216af21 Enable setting fields to record ids 2016-09-07 16:59:01 +01:00
Tobie Morgan Hitchcock
9492ed7244 Update SQL tests 2016-09-07 16:58:50 +01:00