Commit graph

364 commits

Author SHA1 Message Date
Micha de Vries
89f1de825a
Fix record<T> casting from string (#4496)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-08-13 09:50:40 +00:00
Rushmore Mushambi
57c7f5ec03
Serialisation improvements for sql::Value (#4255) 2024-08-13 08:29:43 +00:00
Micha de Vries
f8ba01a688
Fix "specific" match statement exiting early (#4492) 2024-08-12 09:05:12 +00:00
Micha de Vries
c0be139e59
Implement anonymous functions (#4474)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-08-10 12:44:12 +00:00
Micha de Vries
3f5ef43248
Skip ASSERT for type option<T> and value NONE (#4483)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-08-08 17:11:39 +01:00
Micha de Vries
c5a6e08225
Method chaining (#4469) 2024-08-08 11:43:35 +00:00
Micha de Vries
ebc140e8ad
DEFINE @kind OVERWRITE (#4465) 2024-08-06 14:10:58 +00:00
Micha de Vries
36d83ebccf
Remove faulty flatten (#4463) 2024-08-05 17:06:54 +00:00
Micha de Vries
6d2f4a9833
Improve string::is::datetime and string::is::uuid, Add string::is::record (#4462) 2024-08-05 14:46:08 +00:00
Dave MacLeod
27e17d7cdd
Add array::windows() function (#4445) 2024-08-02 12:50:40 +00:00
Albert Marashi
e8f55b60f2
Fixes division by zero bug by returning NAN for divisions by zero? (#4402)
Co-authored-by: Emmanuel Keller <emmanuel.keller@surrealdb.com>
2024-08-02 12:49:46 +00:00
Dmitrii Blaginin
e25ddfc408
Fix validation on schemafull RELATE (#4226) 2024-08-01 11:23:11 +00:00
Micha de Vries
eab548c5a3
Idiom destructuring (#4443) 2024-07-31 15:20:19 +00:00
Micha de Vries
24e9534155
ALTER TABLE-statement (#4435)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-07-30 17:25:11 +01:00
Micha de Vries
07610d9411
Fix flaky test (#4397) 2024-07-20 13:21:01 +00:00
Micha de Vries
4bd1185ff9
Fix querying complex edge table (#4391) 2024-07-20 14:19:08 +01:00
Micha de Vries
70c682987c
Allow generating ulid and uuid based on a timestamp (#4384) 2024-07-19 11:11:55 +00:00
Mees Delzenne
209c145ad0
Remove flume (#4367) 2024-07-19 10:09:54 +00:00
Emmanuel Keller
968b1714dc
Cleanup Fetch resolution (#4312)
Co-authored-by: Gerard Guillemas Martos <gguillemas@users.noreply.github.com>
2024-07-18 11:27:35 +00:00
Tobie Morgan Hitchcock
bfc474e4d8
Refactor transaction, caching, and key-value store interfaces (#4257)
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-07-17 22:44:05 +00:00
Gerard Guillemas Martos
e281a4e41e
Allow defining JWT access at the root level (#4348) 2024-07-15 10:59:33 +00:00
Przemyslaw Hugh Kaznowski
78e8777ff6
4258 bug panic on live select as non root user (#4330) 2024-07-09 10:08:06 +00:00
Vignesh
1baf7848db
Fixes parameter after fetch (#4086)
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
2024-07-05 14:19:53 +00:00
Mees Delzenne
5706c9b368
Fix clippy tests, eliminate globals, remove unused function return variant. (#4303) 2024-07-05 09:34:43 +00:00
Mees Delzenne
07a88383fa
Minor lib improvements (#4261) 2024-07-05 09:19:04 +00:00
Micha de Vries
12ddb94508
Improve RETURN logic (#4298)
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
2024-07-04 15:05:47 +00:00
Przemyslaw Hugh Kaznowski
03bd9d37fb
4294 bug lq delete notifications missing after 5s (#4297) 2024-07-03 15:35:04 +00:00
Tobie Morgan Hitchcock
af80c1ccce
Improve structured output (#4217)
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
Co-authored-by: Gerard Guillemas Martos <gguillemas@users.noreply.github.com>
2024-06-25 07:41:06 +00:00
Mees Delzenne
4148aef961
Add missing datetime prefix. (#4244) 2024-06-21 21:32:41 +00:00
Mees Delzenne
26de6072aa
Hide surrealdb-core capabilities struct and implement builder. (#4173)
Co-authored-by: Gerard Guillemas Martos <gguillemas@users.noreply.github.com>
2024-06-17 14:30:30 +00:00
Mees Delzenne
17ea0d881e
Implement missing modulo operator in new parser (#4182) 2024-06-13 11:23:24 +00:00
David Bottiau
fa66779e43
fix: check args for array::clump (#4167) 2024-06-13 06:42:15 +00:00
Mees Delzenne
3539eac25d
Restructure the parser around the concept of token gluing. (#4081) 2024-06-12 13:52:08 +00:00
Tobie Morgan Hitchcock
e1123ae6d6
Remove SpeeDB storage engine (#4171) 2024-06-12 09:40:48 +00:00
David Bottiau
9ffe94a02f
Add html functions (#4155)
Co-authored-by: Gerard Guillemas Martos <gguillemas@users.noreply.github.com>
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-06-12 09:18:00 +00:00
Tobie Morgan Hitchcock
112df064fd
Add UPSERT statement (#4163) 2024-06-12 09:15:09 +00:00
Gerard Guillemas Martos
d9ae887d50
Resolve panics when a NS or a DB are not configured (#4157)
Co-authored-by: Emmanuel Keller <emmanuel.keller@surrealdb.com>
2024-06-11 09:34:21 +00:00
Emmanuel Keller
2913917284
[Feat] aligns DEFINE resource creation (already exists) (#4148) 2024-06-07 16:24:55 +00:00
Emmanuel Keller
7253c01190
[Bug fix] KNN brute force is not working anymore when an index exists (#4143) 2024-06-06 15:40:38 +00:00
Emmanuel Keller
39c1b333de
[Bug fix] Redefining HNSW index error (#4142) 2024-06-06 13:15:53 +00:00
Emmanuel Keller
9c196fa154
[Feat] Implements a few math functions (#4132) 2024-06-05 15:21:49 +00:00
Gerard Guillemas Martos
20e07a4f79
Improve definition of different durations for authentication (#4119) 2024-06-05 12:36:41 +00:00
Emmanuel Keller
e9987f66de
[Bug Fix] Fixes behaviour on non-truthy condition on group foreign table (#4117) 2024-06-03 09:35:13 +00:00
Gerard Guillemas Martos
d2821461b7
Allow defining a maximum session duration on DEFINE USER (#4116) 2024-05-31 07:40:27 +00:00
Obei Sideg
876f281be5
Add string functions for IP (#4111)
Signed-off-by: Obei Sideg <obei.sideg@gmail.com>
2024-05-30 20:15:08 +00:00
Emmanuel Keller
f79a946cbe
[Bug fix] Iterator not found on unique indexes with == (#4108) 2024-05-28 15:30:24 +00:00
Gerard Guillemas Martos
9962c56961
Redact secrets from access statements in INFO (#4100) 2024-05-28 15:29:11 +00:00
Micha de Vries
e98a56958b
.generate() should not format table name (#4102) 2024-05-28 13:01:25 +00:00
Micha de Vries
5df3d2d190
INSERT RELATION (#4057)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-05-28 12:37:16 +00:00
Emmanuel Keller
3ccadb0740
[Bug fix] Index creation schemafull checks (#4091) 2024-05-24 18:09:10 +00:00