Tobie Morgan Hitchcock
eaedfbbb7c
Add ability to use binary expressions in SQL SELECT statements
2022-07-18 22:10:00 +01:00
Tobie Morgan Hitchcock
0d05446976
Ensure TiKV transactions do not panic when a transaction is dropped
2022-07-18 18:56:08 +01:00
Tobie Morgan Hitchcock
c9ad4e60ce
Implement http SQL functions
2022-07-17 19:58:27 +01:00
Tobie Morgan Hitchcock
31adc4538d
Implement DEFINE TABLE AS
foreign table statements
2022-07-16 23:24:04 +01:00
Tobie Morgan Hitchcock
0394fe5b90
Ensure temporary metadata is removed from records when output
2022-07-16 23:22:23 +01:00
Tobie Morgan Hitchcock
8dbbcf1885
Improve code comments
2022-07-16 23:21:45 +01:00
Tobie Morgan Hitchcock
c9a5b66d9c
Ensure aggregate functions are computed in GROUP BY clauses
2022-07-16 23:20:50 +01:00
Tobie Morgan Hitchcock
c9d9b041f7
Simplify v.into() value conversion statements
2022-07-16 23:18:24 +01:00
Tobie Morgan Hitchcock
db7ed18119
Consolidate field expression code into single location
2022-07-10 23:11:28 +01:00
Tobie Morgan Hitchcock
b0bcecf5da
Fix clippy warnings
2022-07-10 22:57:19 +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
29e500017d
Ensure foreign table views are updated when redefined
2022-07-08 21:56:33 +01:00
Tobie Morgan Hitchcock
a430e89c1f
Ensure values are parsed in the correct order
2022-07-08 10:19:01 +01:00
Tobie Morgan Hitchcock
41d7d2842d
Update 3rd party dependencies
2022-07-07 11:37:02 +01:00
Tobie Morgan Hitchcock
4ab552a8e3
Allow PATCH clauses to accept parameters
2022-07-07 11:22:41 +01:00
Tobie Morgan Hitchcock
63d099e305
Fix code comment typo
2022-07-07 10:55:59 +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
f73ecebba1
Remove unused dependency ‘utf-8’
2022-07-06 14:40:33 +01:00
Tobie Morgan Hitchcock
338bf3e142
Switch from Boa to QuickJS for JavaScript runtime
2022-07-06 14:40:20 +01:00
Tobie Morgan Hitchcock
6ef120f7ce
Ensure record ids are escaped properly in JSON format
2022-07-06 10:09:21 +01:00
Tobie Morgan Hitchcock
073c15b826
Escape record id parts like ⟨this⟩ rather than this
2022-07-06 10:08:11 +01:00
Tobie Morgan Hitchcock
2d076c79a7
Format SQL Durations as a string format
2022-07-05 11:36:10 +01:00
Tobie Morgan Hitchcock
6c5ddbf70f
Ensure undefined fields are removed in schemafull mode
2022-07-04 17:54:43 +01:00
Tobie Morgan Hitchcock
59d7e733eb
Ignore errors when automatically adding NS, DB, or TB definitions
2022-07-04 17:54:03 +01:00
Tobie Morgan Hitchcock
b575f3a9db
Remove unused files
2022-07-04 17:54:03 +01:00
Tobie Morgan Hitchcock
8ebcff6d18
Ensure table is added if it does not exist
...
If the user is is creating a record in a table / collection that does not exist, and the user is authenticated with KV, NS, or DB level permissions, then we need to add the table with the default definition parameters.
2022-07-04 13:58:59 +01:00
Tobie Morgan Hitchcock
8ca211f96d
Simplify SQL string::slug function implementation
2022-07-04 10:41:18 +01:00
Tobie Morgan Hitchcock
508538e0cc
Add initial WebSocket JSON RPC implementation
2022-07-04 02:32:26 +01:00
Tobie Morgan Hitchcock
8dc7341cb1
Add functions on SQL Value for matching on type
2022-07-04 02:02:46 +01:00
Tobie Morgan Hitchcock
7af9daf159
Update 3rd party dependencies
2022-07-04 01:59:02 +01:00
Tobie Morgan Hitchcock
527361efd4
Ensure script function is asynchronous
2022-07-04 01:25:35 +01:00
Tobie Morgan Hitchcock
039d2fbd54
Use alphabetical ordering for Cargo.toml dependencies
2022-07-03 20:33:13 +01:00
Tobie Morgan Hitchcock
663848172e
Simplify code for conversion between Boa and SurrealDB
2022-07-03 20:30:18 +01:00
Tobie Morgan Hitchcock
d0c37f4d66
Enable parsing of thing records inside strings
...
This allows for thing records to be parsed within JSON strings.
2022-07-03 20:28:30 +01:00
Tobie Morgan Hitchcock
0c86061086
Accept Thing as argument to type::thing SQL function
2022-07-03 19:22:12 +01:00
Tobie Morgan Hitchcock
bc16645d38
Ensure library build only includes specified features
2022-07-03 10:43:23 +01:00
Tobie Morgan Hitchcock
d5a6f80460
Ensure all operator keywords are one word only
2022-06-28 14:39:07 +01:00
Tobie Morgan Hitchcock
569182ee7b
Implement LIVE and KILL statements
2022-06-28 11:54:04 +01:00
Tobie Morgan Hitchcock
219f4a54ed
Enable ability to pass arguments to JavaScript functions
2022-06-28 11:54:04 +01:00
Tobie Morgan Hitchcock
3f4a144ef0
Ensure Date uses correct prototype in javascript functions
2022-06-28 11:54:04 +01:00
Tobie Morgan Hitchcock
44f20d3740
Remove unnecessary public function definitions in sql module
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
ccdce709f2
Add UUID data type to SQL for efficient storage of UUIDs
2022-06-28 11:54:04 +01:00
Tobie Morgan Hitchcock
86c2285564
Fix output of SQL DEFINE SCOPE statement
2022-06-20 15:51:29 +01:00
Tobie Morgan Hitchcock
eff4d2c5e9
Implement scope signup and signin functionality
2022-06-20 12:29:06 +01:00
Tobie Morgan Hitchcock
b93b87f2a1
Remove unused CONNECT clause on DEFINE SCOPE statements
2022-06-20 12:28:05 +01:00
Tobie Morgan Hitchcock
951ca55b54
Add SQL Thing parsing functionality to external API
2022-06-20 12:26:43 +01:00
Tobie Morgan Hitchcock
0cb42d7283
Add functionality to compute sql value within database context
2022-06-20 12:26:27 +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