Commit graph

2628 commits

Author SHA1 Message Date
Johnny Hauser
5945146459
Include define and remove statements in subquery () 2023-08-23 17:05:50 +01:00
Tobie Morgan Hitchcock
16a4c2c40e
Default to true if a WHEN clause is omitted on DEFINE EVENT statements () 2023-08-23 17:04:56 +01:00
Tobie Morgan Hitchcock
495f69d618
Ensure comments are output with DEFINE statements () 2023-08-23 17:04:42 +01:00
Tobie Morgan Hitchcock
b1275ed565
Ensure foreach range is computed before iterating over () 2023-08-22 17:45:22 +01:00
Tobie Morgan Hitchcock
ac35111833
Improve code blocks, foreach statements, and throw statements () 2023-08-22 12:26:05 +01:00
Rushmore Mushambi
9d89fa0d56
Simplify connect parameters () 2023-08-22 09:23:49 +00:00
Tobie Morgan Hitchcock
afdd0b3c85
Improve id field handling in the statement data clause () 2023-08-21 23:47:35 +01:00
Finn Bear
27cc21876d
Security - Limit parser depth. () 2023-08-21 22:05:11 +00:00
Mees Delzenne
77c889f356
Minor parser fixes () 2023-08-21 16:29:50 +01:00
Rushmore Mushambi
74c3551b45
Remove unnecessary impl From<Jwt> for Value () 2023-08-21 15:09:00 +01:00
Salvador Girones Gil
2deab8429c
[cli/server] Add tests for signal handling () 2023-08-21 13:58:53 +01:00
Yusuke Kuoka
2bb078b7dc
ci: Shorten coverage report upload timeout () 2023-08-21 13:51:14 +01:00
Rushmore Mushambi
76478b37cd
impl IntoResource for &Thing () 2023-08-21 13:48:31 +01:00
Yusuke Kuoka
d52784f953
Fix Ctrl-C to work for node and telemetry () 2023-08-21 12:35:34 +01:00
Mees Delzenne
76b962eb6e
Lower parsing complexity for binary values and idioms () 2023-08-21 11:33:57 +01:00
Tobie Morgan Hitchcock
b350f052a7
Ensure ON DUPLICATE KEY UPDATE clause is displayed on INSERT statement () 2023-08-20 19:16:41 +01:00
Tobie Morgan Hitchcock
c2e695b897
Support whitespace in JavaScript function definition () 2023-08-20 14:14:53 +01:00
Yusuke Kuoka
3ea3c34f71
Fix random tikv tests after ts_to_vs test to not fail anymore () 2023-08-20 12:26:19 +01:00
Tobie Morgan Hitchcock
83be65125b
Temporarily ignore kvs::timestamp_to_versionstamp test () 2023-08-20 09:45:03 +01:00
Tobie Morgan Hitchcock
f01da5f577
Delay Record ID generation when using functions () 2023-08-20 04:27:20 +01:00
Tobie Morgan Hitchcock
1fd6d991ae
Implement DEFAULT value clause on DEFINE FIELD statements () 2023-08-20 03:53:50 +01:00
Tobie Morgan Hitchcock
71adbe6f5a
Ensure foreign tables are deleted fully when removed () 2023-08-20 02:07:15 +01:00
Tobie Morgan Hitchcock
dcc3c4fabb
Ensure records can be created correctly when using INSERT statement () 2023-08-20 00:34:41 +01:00
Tobie Morgan Hitchcock
e9ef8855cf
Ensure permissions are enforced on edge in and out fields () 2023-08-19 23:19:16 +01:00
Tobie Morgan Hitchcock
136d8f8eee
Add tests for DEFINE FIELD ... VALUE clauses with references and with futures () 2023-08-19 20:22:15 +01:00
Przemyslaw Hugh Kaznowski
1dfc58a8da
Fix live queries to check predicates against previous document instead of current () 2023-08-19 13:31:51 +01:00
Przemyslaw Hugh Kaznowski
ce6cfb7634
GC live queries when client disconnects () 2023-08-19 10:01:37 +01:00
Rushmore Mushambi
f16ec7f894
Add a Value::Query variant () 2023-08-18 23:51:56 +01:00
Przemyslaw Hugh Kaznowski
60b6cc6c75
Test for kill ws ()
Co-authored-by: Salvador Girones <salvadorgirones@gmail.com>
2023-08-18 15:21:01 +00:00
Tobie Morgan Hitchcock
44dabfa9d2
Improve DEFINE and REMOVE statements code () 2023-08-18 14:21:02 +01:00
Salvador Girones Gil
c514c39e9d
[ws-tests/lq] Fix the LQ tests and account for unordered WS messages () 2023-08-18 14:16:02 +01:00
Yusuke Kuoka
41c9fd701e
Add ns/db/tb IDs for aliasing () 2023-08-18 09:00:06 +01:00
Yusuke Kuoka
a242d21d94
feat: Ability to show changes using timestamp () 2023-08-18 08:17:54 +01:00
Salvador Girones Gil
22f4c44989
[ci] Fixes for cli_integration. Debugging for websocket tests () 2023-08-18 08:16:13 +01:00
Tobie Morgan Hitchcock
b2b51b54b1
Add versioned data storage serialisation () 2023-08-17 19:03:46 +01:00
Przemyslaw Hugh Kaznowski
983ec1ba63
Add tx commits () 2023-08-16 18:56:17 +01:00
Przemyslaw Hugh Kaznowski
bba2420503
Resolve assert to unwrap () 2023-08-16 14:31:39 +01:00
Salvador Girones Gil
3b26ad2a44
[rpc] Add WebSocket metrics () 2023-08-16 13:27:53 +01:00
Salvador Girones Gil
4288d9f188
[integration-tests] Improvements. Increase timeout for WS () 2023-08-14 15:36:27 +00:00
Przemyslaw Hugh Kaznowski
d4b2ba9999
Add a commit to tb.rs () 2023-08-14 13:27:27 +01:00
Przemyslaw Hugh Kaznowski
150b303da9
Fix cluster init () 2023-08-14 13:27:03 +01:00
Przemyslaw Hugh Kaznowski
d9eaf0eaa3
Add warning log for dropped uncommitted write transactions ()
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-08-12 22:01:27 +00:00
Przemyslaw Hugh Kaznowski
ef75fc2a66
Add test for delete with live query predicates () 2023-08-11 23:22:53 +00:00
Rushmore Mushambi
78808bb44c
Refactor Lazy::new(|| Surreal::init()) to Lazy::new(Surreal::init) () 2023-08-11 22:11:24 +00:00
Przemyslaw Hugh Kaznowski
8678377efd
Refactored ds.rs to re-use and close write transaction () 2023-08-11 19:30:44 +01:00
hchockarprasad
8b1cb5ee1f
Fix merging of empty objects & arrays () 2023-08-11 15:47:54 +00:00
Tobie Morgan Hitchcock
620d01f06a
Ensure TiKV cluster is clean before running tests () 2023-08-11 11:50:48 +00:00
Yusuke Kuoka
ceb603ee33
Fix CF GC / node::init to actuallly run on start () 2023-08-11 09:42:08 +00:00
meppu
1a0116332a
Implement all JSON Patch operations () 2023-08-10 06:38:46 +00:00
Rushmore Mushambi
61f4580ba8
Switch to std::sync::OnceLock and fix Surreal::clone () 2023-08-10 06:33:38 +00:00