Commit graph

243 commits

Author SHA1 Message Date
Rushmore Mushambi
2ee33e7bdb
Revert breaking changes from sql1 (#3433) 2024-02-05 16:21:23 +00:00
Rushmore Mushambi
690dd55a86
Extract core lib into a standalone crate (#3423)
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-02-02 22:10:47 +00:00
Tobie Morgan Hitchcock
7f39754ec2
Fix: Ensure path idioms are correct when looping over (#3363) 2024-01-22 20:48:35 +00:00
Mees Delzenne
6592ba4368
Feature: Define types for subfields when defining fields. (#3146) 2024-01-22 07:24:14 +00:00
Micha de Vries
650eb8ed5d
Feature: Add READONLY keyword to DEFINE FIELD statement (#3152) 2024-01-19 16:58:54 +00:00
Gustavo
334c117a48
Feature: Add IF EXISTS to REMOVE TABLE statement (#3243)
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-01-19 14:02:07 +00:00
Rushmore Mushambi
c5138245a0
Add support for LIVE SELECT in the SDK and CLI (#3309) 2024-01-16 11:48:29 +00:00
Gerard Guillemas Martos
618a4d1b42
Fix: Panic invoking parameters and functions without a database (#3297) 2024-01-10 17:56:13 +00:00
Mees Delzenne
2755f572fc
Introduce new experimental parser (#2885)
Co-authored-by: Raphael Darley <raphael@raphaeldarley.com>
2024-01-10 16:43:56 +00:00
Emmanuel Keller
310213f5e4
Feat: knn brute force (#3043)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-01-09 16:57:52 +00:00
Rushmore Mushambi
8bfdab31f2
bugfix: Ensure an attempt to set a protected variable returns an error (#3216)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-01-05 11:28:01 +00:00
Rushmore Mushambi
23d67305f5
Fix deserialisation and HTTP engine regressions (#3180) 2023-12-20 10:31:19 +00:00
Mees Delzenne
953e496e7d
Bugfix: Compute futures in query conditions (#3118) 2023-12-19 09:17:48 +00:00
Emmanuel Keller
66063f11cd
Bug fix: Issue with scoring on complex queries (#3174) 2023-12-19 08:56:04 +00:00
Mees Delzenne
e5fb44fabd
Bugfix: Respect alias for dynamic field queries with type::field. (#3163) 2023-12-15 21:52:09 +00:00
Mees Delzenne
a7f186424e
Bugfix: Prevent overflow in math::power (#3162) 2023-12-15 21:50:34 +00:00
Micha de Vries
f66b7c8eec
Expand logic for static value validation (#3151) 2023-12-14 21:23:58 +00:00
Emmanuel Keller
a6c50cb5f5
Feat: In Memory index store (#3020) 2023-12-13 13:37:24 +00:00
Maxwell Flitton
2ae8416791
Add support for ML model storage and execution (#3015) 2023-12-12 13:51:43 +00:00
Micha de Vries
daf02dc4e6
INSERT should respect unique indexes (#3092) 2023-12-07 14:45:12 +00:00
Micha de Vries
d658a0a3fb
Always display permissions (#3083) 2023-12-06 21:30:18 +00:00
Micha de Vries
aac8ec8a36
Default table permissions should be NONE (#3074) 2023-12-06 00:06:53 +00:00
Micha de Vries
6e7c22e3b0
Optional function arguments should be optional (#3036) 2023-11-27 21:38:05 +00:00
Micha de Vries
81d82c6110
Basic object:: functions (#3033) 2023-11-27 19:14:41 +00:00
Rushmore Mushambi
3baf1c6ea9
Add Query::with_stats to return query statistics along with the results (#3019) 2023-11-27 19:13:52 +00:00
Micha de Vries
d51d69d35a
Make SELECT ONLY deterministic (#3025) 2023-11-26 20:11:41 +00:00
Emmanuel Keller
9ead2cdbb6
MTree fully tested with Euclidean and Manhattan distances (#3006) 2023-11-21 21:25:00 +00:00
Micha de Vries
aa8591c7f4
Implement type::is::none() function (#3011) 2023-11-21 09:03:06 +00:00
Emmanuel Keller
6efd3e3d87
Feat: Analyzers to support functions (#2974)
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-11-20 18:36:21 +00:00
Mees Delzenne
256a08a396
Factor out the parser into its own module. (#2979) 2023-11-18 13:56:13 +00:00
Rushmore Mushambi
2d19ac9f7a
Add live query API (#2919)
Co-authored-by: Emmanuel Keller <keller.emmanuel@gmail.com>
2023-11-13 17:19:47 +00:00
Emmanuel Keller
0bdfbfe5df
Support of subfields for embedding indexing (#2967) 2023-11-13 16:11:38 +00:00
Micha de Vries
ed60a35b9b
Forward custom thrown errors in SIGNIN and SIGNUP queries (#2902) 2023-10-28 12:39:46 +00:00
Emmanuel Keller
b8ff68b464
Feat: Indexes used with the operators CONTAINS[ANY|ALL] (#2879) 2023-10-26 21:34:28 +00:00
Emmanuel Keller
08ac7579d1
Feat: Implements MTree index deletions (#2738) 2023-10-26 22:33:06 +01:00
Micha de Vries
38e0aa4aa9
Ability to cast string to a Thing/Record ID (#2834) 2023-10-26 13:18:49 +00:00
Micha de Vries
05907db1ea
Fix #2513 - Query results should be consistent and representative (#2887) 2023-10-26 10:05:44 +00:00
hchockarprasad
cfdd7c195c
Fix index plan for idiom param value (#2865) 2023-10-25 10:24:04 +00:00
Przemyslaw Hugh Kaznowski
872c6d9764
Add new clocks (#2778)
Co-authored-by: Raphael Darley <raphael@raphaeldarley.com>
2023-10-18 08:56:22 +00:00
Djole
9d9fde2db8
Fix local engine endpoints (#2813)
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
2023-10-10 06:01:21 +00:00
Emin Fedar
e6a8f598fe
feat: improve time module (#2800) (#2801) 2023-10-08 00:46:40 +00:00
Tristan F
9a554e4370
fix: interchangable limit & order (#2774) 2023-10-04 09:53:46 -04:00
Przemyslaw Hugh Kaznowski
c6f6ca8062
Improve bootstrapping for finding invalid data from beta versions. (#2700)
Co-authored-by: Raphael Darley <raphael@raphaeldarley.com>
2023-10-04 13:06:58 +00:00
Mees Delzenne
d9fa31f745
Fix clippy warnings in tests and clippy check tests in CI (#2779) 2023-10-04 09:51:34 +00:00
Jan S
74ad693709
Fix typos (#2764) 2023-09-28 09:17:29 +00:00
Raphael Darley
db5fb6df63
Switch transaction to enum from bool (#2743) 2023-09-26 13:02:53 +00:00
Micha de Vries
a0072cf133
Improve type::is::record() method (#2736) 2023-09-22 19:44:28 +00:00
Emmanuel Keller
0772a8c592
Feature: Vector Search: mtree index + knn operator (#2546)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-09-12 21:26:03 +01:00
Yusuke Kuoka
c51912ab81
Record table (re)definitions into change feeds (#2671)
Co-authored-by: Yusuke Kuoka <yusuke.kuoka@surrealdb.com>
2023-09-12 16:55:07 +01:00
Emmanuel Keller
e4c6d817c4
Feature: Support of range queries in the query planner (#2656) 2023-09-12 16:43:32 +01:00