Commit graph

442 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
63747612e3 Return a Result from async methods on Value
Instead of silently failing, the async methods on a Value for getting, setting, and updating the value, now return a Result. This means we can chain the awaited result using the ? operator.
2022-01-20 23:02:04 +00:00
Tobie Morgan Hitchcock
c86a53502d Remove unused type 2022-01-20 20:30:54 +00:00
Tobie Morgan Hitchcock
e153c791f3 Use usize for START and LIMIT clauses 2022-01-20 20:26:28 +00:00
Tobie Morgan Hitchcock
f8848e36f5 Ensure functions can be run asynchronously 2022-01-19 14:33:55 +00:00
Tobie Morgan Hitchcock
3b5966144c Ensure errors are sent when JSON request parsing fails 2022-01-19 11:35:35 +00:00
Tobie Morgan Hitchcock
1a96bd1ed9 Add new time::group function 2022-01-18 22:23:46 +00:00
Tobie Morgan Hitchcock
b29db4d999 Improve error passing in SQL parser 2022-01-17 09:00:23 +00:00
Tobie Morgan Hitchcock
8b28a8e5f2 Remove unnecessary functions for parsing Tables 2022-01-15 22:13:32 +00:00
Tobie Morgan Hitchcock
f202bd5ab4 Improve SQL parsing errors 2022-01-15 09:51:57 +00:00
Tobie Morgan Hitchcock
91c53e4188 Improve empty query errors 2022-01-14 22:35:44 +00:00
Tobie Morgan Hitchcock
4eca618b77 Add failure recovery to web package 2022-01-14 17:13:44 +00:00
Tobie Morgan Hitchcock
67d6289d0e Attach request variables to query executor context 2022-01-14 08:31:14 +00:00
Tobie Morgan Hitchcock
3126251a65 Convert all processing code to async 2022-01-14 08:12:56 +00:00
Tobie Morgan Hitchcock
db9960fcbe Ensure wasm library builds correctly 2022-01-13 17:53:30 +00:00
Tobie Morgan Hitchcock
87e1b38f02 Add initial key-value storage key implementation 2022-01-13 17:40:20 +00:00
Tobie Morgan Hitchcock
ff6a41326a Add base library file for wasm build 2022-01-13 17:39:17 +00:00
Tobie Morgan Hitchcock
f3de9095ae Add further SQL function implementations 2022-01-13 17:37:46 +00:00
Tobie Morgan Hitchcock
6e031110bb Large update to code to convert Golang to Rust 2022-01-13 17:37:38 +00:00
Tobie Morgan Hitchcock
4f4793975e Add initial kvs backend storage code 2022-01-13 17:35:48 +00:00
Tobie Morgan Hitchcock
9e62e8f367 Add initial iterator blueprint implementation 2022-01-13 07:31:21 +00:00
Tobie Morgan Hitchcock
c51e60e706 Add query session and authentication logic 2022-01-13 07:31:02 +00:00
Tobie Morgan Hitchcock
9e5e6efa6d Add document package blueprint 2022-01-13 07:00:50 +00:00
Tobie Morgan Hitchcock
e89ebb2c79 Use Strings in context values map 2022-01-13 06:58:08 +00:00
Tobie Morgan Hitchcock
f02e12c63a Add ability to convert context errors to generic errors 2022-01-13 06:57:46 +00:00
Tobie Morgan Hitchcock
643344151b Verify database path parameter on command-line 2022-01-13 06:56:24 +00:00
Tobie Morgan Hitchcock
469de77609 Enlarge web body input size from 1KiB to 1MiB 2021-12-14 10:24:54 +00:00
Tobie Morgan Hitchcock
74d8a36056 Improve string parsing and allow escaped characters 2021-12-14 10:24:54 +00:00
Tobie Morgan Hitchcock
203b85e6d2 Ensure <cast> functions only operate on a single expression 2021-12-14 10:24:54 +00:00
Tobie Morgan Hitchcock
a67bbace36 Ensure subquery parsing works correctly 2021-12-14 10:24:54 +00:00
Tobie Morgan Hitchcock
11df879fc0 Ensure operator parsing works correctly 2021-12-14 10:24:54 +00:00
Tobie Morgan Hitchcock
ba60c4437f Improve regex parsing and allow ‘/‘ characters 2021-12-14 10:24:54 +00:00
Tobie Morgan Hitchcock
1f9cad9431 Ensure arrays and objects serialize correctly 2021-12-14 10:24:54 +00:00
Tobie Morgan Hitchcock
9ae2cc7cd1 Implement contains operator functionality 2021-12-14 10:24:54 +00:00
Tobie Morgan Hitchcock
bf9ceaf693 Output complex SQL operators as text not symbols 2021-12-14 10:24:54 +00:00
Tobie Morgan Hitchcock
92e9f17ade Add exactly equal operator (==) 2021-12-14 10:24:54 +00:00
Tobie Morgan Hitchcock
70dfe88dff Add additional geo functions 2021-12-14 10:24:54 +00:00
Tobie Morgan Hitchcock
1324fed1b3 Ensure polygon has at least 1 geographical point 2021-12-14 10:24:54 +00:00
Tobie Morgan Hitchcock
b196f16f68 Remove unused fields from database Response struct 2021-12-14 10:24:54 +00:00
Tobie Morgan Hitchcock
5b58c5fa0e Convert Parent to Runtime for query variable storage 2021-12-14 10:24:54 +00:00
Tobie Morgan Hitchcock
7768e85145 Enable embedded paths in param names 2021-12-14 10:24:54 +00:00
Tobie Morgan Hitchcock
5d57c105b9 Continue with initial code 2021-12-14 10:24:54 +00:00
Tobie Morgan Hitchcock
dfcfb32903 Add initial code 2021-12-14 10:24:54 +00:00