Commit graph

10 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
e57a088688 Live queries from event queries occur in the background
Previously, LIVE queries as a result of an  EVENT query would not be sent to the current connection. Now any LIVE queries resulting from an EVENT query will be delivered to ALL connections, regardless of where it originated.
2020-02-17 13:46:54 +00:00
Tobie Morgan Hitchcock
d0d566bbd9 Improve database speed 2019-11-20 13:20:27 +00:00
Tobie Morgan Hitchcock
f19a0f1744 Improve detecting document changes
Instead of computing a diff to detect whether the document has changed, the document is marked as ‘changed’ if the initial document is different from the current document after being updated, or after being deleted.
2019-02-01 00:20:16 +00:00
Tobie Morgan Hitchcock
a00a7f17ef Use caching on database level, not in document class 2019-02-01 00:18:55 +00:00
Tobie Morgan Hitchcock
7c962f7bdc Add SQL OPTION query statement 2019-01-31 09:47:52 +00:00
Tobie Morgan Hitchcock
e3bea0a897 Use context.Context on all kvs requests 2018-05-02 03:05:03 +01:00
Tobie Morgan Hitchcock
b7d89ee65a Add support for foreign tables with group by clauses 2018-05-02 02:43:04 +01:00
Tobie Morgan Hitchcock
4d155c61ce Only run events when the document has changed 2018-04-19 13:36:04 +01:00
Tobie Morgan Hitchcock
67cfca04b9 Enable permissions on individual document fields 2018-04-14 19:14:47 +01:00
Tobie Morgan Hitchcock
ea1749f03f Split DB event processing code into separate file 2018-04-13 21:15:38 +01:00