Tobie Morgan Hitchcock
65f219ffe5
Ensure system parameters are not able to be overridden
2022-11-01 23:55:33 +00:00
Tobie Morgan Hitchcock
12b6e04539
Implement inclusive and unbounded record ranges
...
Closes #1412
Closes #1413
2022-10-30 01:32:27 +00:00
Tobie Morgan Hitchcock
e9364d2efd
Ensure GROUP BY fields with functions are output correctly
2022-10-25 18:04:00 -07:00
Tobie Morgan Hitchcock
2e1d39fcf8
Remove unused Response to Value conversion implementation
2022-10-25 06:05:02 -07:00
Tobie Morgan Hitchcock
50a2c25688
Ensure cancelled context does not prevent FETCH of records
...
Closes #1395
2022-10-22 22:19:12 +01:00
Tobie Morgan Hitchcock
0a4b810fbd
Allow parameters in LIMIT and START clauses in SQL SELECT statements
...
Closes #1332
Closes #116
2022-10-17 02:57:53 +01:00
Tobie Morgan Hitchcock
0bc798cbe0
Remove SQL debugging functionality
2022-10-16 17:36:07 +01:00
Finn Bear
88100854a8
Limit computation depth in functions, futures, and subqueries. ( #241 )
2022-10-06 17:35:03 +01:00
Tobie Morgan Hitchcock
7cd8bab75c
Ensure FETCH clauses fetch the respective data correctly
...
Closes #249
2022-09-30 21:42:33 +01:00
Tobie Morgan Hitchcock
016455025c
Ensure LET statements throw errors correctly on failure
2022-09-25 10:56:57 +01:00
Finn Bear
b31dbb28fe
Miscellaneous performance optimizations and code cleanup ( #240 )
2022-09-23 00:54:53 +01:00
Tobie Morgan Hitchcock
0d4d2359d4
Add $token variable for retrieving authentication token claims data
2022-09-17 03:05:23 +01:00
Tobie Morgan Hitchcock
a7444a7c8e
Add authentication token claims data to session object
...
Closes #135
2022-09-17 03:05:23 +01:00
Tobie Morgan Hitchcock
4c98717f1d
Update Rust code comments
2022-09-17 03:05:23 +01:00
Tobie Morgan Hitchcock
3b41217423
Allow switching to current namespace when authenticated as a database user
2022-09-10 05:45:02 +01:00
Tobie Morgan Hitchcock
491806aa75
Add scope data to $session object
2022-09-05 00:55:51 +01:00
Finn Bear
8f6d21c1fc
Refactor and optimize functions and Value operators ( #80 )
2022-09-01 01:27:52 +01:00
Tobie Morgan Hitchcock
7a857801d2
Ensure selected NS/DB is reflected in current session info
...
Closes #36
2022-08-29 17:30:50 +01:00
Tobie Morgan Hitchcock
b9fc84bf18
Prevent panics when remote datastore transactions fail to start
2022-08-29 13:20:30 +01:00
Tobie Morgan Hitchcock
f22d5d3e51
Ensure read-only transactions are cancelled when complete
2022-08-29 12:29:38 +01:00
Tobie Morgan Hitchcock
8d08c34ddf
Add support for writeable queries in LET SQL statements
2022-08-29 12:29:10 +01:00
Tobie Morgan Hitchcock
c1a1eba8b5
Add support for Record ID ranges
...
Closes #66
2022-08-28 23:31:57 +01:00
Tobie Morgan Hitchcock
56d3b0e861
Fix bug where records couldn’t be updated after defining an index
...
Closes #57
2022-08-25 14:50:11 +01:00
Tobie Morgan Hitchcock
af45b33fa0
Return error when selecting from non-existent table in strict mode
...
Closes #13
2022-08-10 17:49:32 +01:00
Tobie Morgan Hitchcock
3c57496655
Ensure aliased GROUP BY fields are output correctly
2022-07-30 22:57:30 +01:00
Tobie Morgan Hitchcock
54f7395555
Add initial integration tests
2022-07-28 10:00:06 +01:00
Tobie Morgan Hitchcock
d619633340
Enable new database strict mode configuration
2022-07-27 18:20:04 +01:00
Tobie Morgan Hitchcock
a2c5ea237b
Fix bug when defining NS / DB without first selecting NS / DB
...
Closes #12
2022-07-26 10:06:33 +01:00
Tobie Morgan Hitchcock
81bad3211d
Improve command-line logging
2022-07-19 09:28:24 +01:00
Tobie Morgan Hitchcock
90dfa9f49f
Ensure LIMIT BY clause does not cause query to fail
2022-07-09 19:44:15 +01:00
Tobie Morgan Hitchcock
3417d152e0
Ensure PARALLEL clauses don’t run on WASM
2022-07-06 14:40:43 +01:00
Tobie Morgan Hitchcock
508538e0cc
Add initial WebSocket JSON RPC implementation
2022-07-04 02:32:26 +01:00
Tobie Morgan Hitchcock
569182ee7b
Implement LIVE and KILL statements
2022-06-28 11:54:04 +01:00
Tobie Morgan Hitchcock
34ba79428c
Ensure correct permissions are used on each query
2022-06-28 11:54:04 +01:00
Tobie Morgan Hitchcock
eff4d2c5e9
Implement scope signup and signin functionality
2022-06-20 12:29:06 +01:00
Tobie Morgan Hitchcock
b4e2082196
Use BTreeMap for database execution variables
2022-06-20 02:13:28 +01:00
Tobie Morgan Hitchcock
20c4e03446
Ensure graph edges are purged correctly when deleted
2022-06-17 23:55:09 +01:00
Tobie Morgan Hitchcock
a687a7f4bf
Ensure remote records in FETCH clauses are fetched correctly
2022-06-15 08:49:57 +01:00
Tobie Morgan Hitchcock
c0a78d8470
Implement graph traversal functionality
2022-06-15 08:49:57 +01:00
Tobie Morgan Hitchcock
3f568f3990
Simplify session conversion to database context
2022-05-31 19:00:32 +01:00
Tobie Morgan Hitchcock
01d21e1157
Implement INSERT and RELATE statements
2022-05-30 16:32:26 +01:00
Tobie Morgan Hitchcock
44df5a8621
Allow modification of documents from subquery result sets
2022-05-25 10:39:36 +01:00
Tobie Morgan Hitchcock
52e8954ae4
Ensure library works in multi-threaded and single-threaded environments
2022-05-16 00:04:11 +01:00
Tobie Morgan Hitchcock
75de89d9a1
Add support for both writeable and read-only transactions
2022-05-14 22:30:49 +01:00
Tobie Morgan Hitchcock
1017e2fffb
Don’t clone variables when processing sub-contexts
...
Closes SUR-53
When creating a new context for subqueries or statement clauses, we used to have to clone any variables/values, and freeze the context, so that it could be used across threads and async boundaries.
Now with the new executor pattern for parallel queries, we can pass references instead, improving performance by removing unnecessary cloning of values.
2022-05-14 13:38:17 +01:00
Tobie Morgan Hitchcock
6ff2a78c88
Don’t use static futures for parallel query execution
...
Instead of using static futures when processing a query in parallel, we now use a new executor model, which allows us to process futures which make use of references. As a result, we can remove the need to store each statement in an Arc.
2022-05-13 21:57:40 +01:00
Tobie Morgan Hitchcock
cc40e26e3f
Add additional functions on Auth type for validating authentication
2022-05-11 15:23:07 +01:00
Tobie Morgan Hitchcock
1e2ba72e37
Reduce mem size of Error enum types
2022-05-06 23:09:08 +01:00
Tobie Morgan Hitchcock
4d072a7f6c
Reduce mem size of SQL Model by converting to an enum
2022-05-06 17:02:44 +01:00
Tobie Morgan Hitchcock
0125cb28b0
Implement Deref on SQL Order type
2022-05-05 12:27:08 +01:00