Commit graph

55 commits

Author SHA1 Message Date
Emmanuel Keller
141e2e5e4c
Select count table scan optimisation (#4285) 2024-09-16 16:30:00 +00:00
Rushmore Mushambi
9af0082376
Fix warnings in Wasm (#4778) 2024-09-16 15:49:55 +00:00
Emmanuel Keller
3d505697de
Query planner to support mixed number types on range queries (#4747) 2024-09-16 15:49:22 +00:00
Emmanuel Keller
9cfdd34fc0
Query planner to support composite indexes on the 1st column (#4746) 2024-09-16 13:17:20 +00:00
Dave MacLeod
4d92005125
Remove eager parsing of "false" truthiness (#4775)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-16 08:46:31 +00:00
Roman Heinrich
be24734048
Feat: Include record ID in live queries notifications. (#2950)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-16 00:48:57 +01:00
David Bottiau
218fa83c10
Add geo::is::valid() function (#4711)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-15 23:45:24 +01:00
Mees Delzenne
d94d74a715
Implement parsing of method calls on integers (#4762) 2024-09-13 14:52:56 +00:00
Emmanuel Keller
749a30014f
Fallback to table iterator on ORDER BY indexField DESC (#4745) 2024-09-12 13:29:18 +00:00
Mees Delzenne
0444d5e6ce
Implement conversions for bytes and geometries in script functions (#4743) 2024-09-12 12:04:36 +00:00
Raphael Darley
a920ed4d83
Switch SDK to use revision binary format (#4735) 2024-09-11 17:19:37 +00:00
Raphael Darley
8f30ee08cf
Deprecate missing format inference on RPC protocol (#4729)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-10 20:20:14 +00:00
Sergii Glushchenko
516bb977ac
Info for db and table with versioned tables and fields (#4692) 2024-09-10 12:59:31 +00:00
Micha de Vries
29af8f573d
Improve literal types (#4712)
Co-authored-by: Raphael Darley <raphael.darley@surrealdb.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-10 13:50:31 +01:00
Tobie Morgan Hitchcock
ba18cc2d79
Fix bug with timeouts not always being processed (#4721) 2024-09-10 13:37:26 +01:00
Emmanuel Keller
30118f445c
Implements SavePoint(s) (#4707) 2024-09-10 10:10:46 +00:00
Micha de Vries
6735ea96d8
Nested fields in optional fields should not be required (#4719) 2024-09-09 19:04:59 +01:00
Raphael Darley
dc06603d5b
Simplify cfg attributes around codebase (#4695)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-05 09:35:35 +01:00
Tobie Morgan Hitchcock
06b4f95198
Improve aggregate function argument checks (#4698) 2024-09-05 09:10:48 +01:00
Luca Giannini
0294bde560
Refactor migrating away from once cell (#4614)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-05 09:04:12 +01:00
Anirban Halder
405c96f78d
Added TryFloatDiv trait for MathMean in Aggregate function (#4390)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-04 22:42:38 +01:00
Maxwell Flitton
0a1a99dc68
Initial commit for SurrealCS (#4458)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
Co-authored-by: Raphael Darley <raphael.darley@surrealdb.com>
2024-09-04 14:53:37 +01:00
Rushmore Mushambi
29c6914b04
Update create API (#4688) 2024-09-04 13:48:31 +01:00
Dave MacLeod
4431809711
Add time::is::leap_year() function (#4671) 2024-09-03 20:30:59 +01:00
Rushmore Mushambi
6818ed6985
Fix retrieving multiple columns from the same response (#4678) 2024-09-03 20:16:43 +01:00
Emmanuel Keller
d148098f5a
Fix 3863 part 1 / 3 (#4666) 2024-09-03 13:31:15 +00:00
Julian
507dd931f3
Add function returns to info structure (#4642)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-03 14:02:09 +01:00
Raphael Darley
ff3c3bcc2b
Make sdk create consistent (#4667) 2024-09-03 14:01:37 +01:00
Mees Delzenne
b0cde2a40a
Overhaul the parser error type. (#4652) 2024-09-03 11:53:16 +00:00
Tobie Morgan Hitchcock
329bb74040
Fix NONE and NULL less than or greater than bugs (#4658) 2024-09-02 11:03:26 +01:00
Dave MacLeod
99356dcd49
Default to true for WHEN on DEFINE EVENT statement (#4662) 2024-09-02 11:03:09 +01:00
Tobie Morgan Hitchcock
185cb9e568
Fix cargo dependency loading issue (#4660) 2024-09-02 09:43:41 +00:00
Tobie Morgan Hitchcock
1153a2469b
Fix complex Record IDs from being output incorrectly within JavaScript functions (#4661) 2024-09-02 09:19:25 +00:00
Tobie Morgan Hitchcock
a0028e2c7a
Fix allowing any to be used for optional arguments (#4659) 2024-09-02 09:15:13 +00:00
Tobie Morgan Hitchcock
7588c7e31a
Fix bug with object array-indexed string field names appearing with quotation marks (#4657) 2024-09-02 09:13:47 +00:00
Emmanuel Keller
cefb95df28
[Bug] Concurrent indexing fails on record updates (#4629) 2024-08-30 16:26:01 +00:00
Raphael Darley
0733be13a0
improve transparent api (#4651) 2024-08-30 12:39:55 +00:00
Dave MacLeod
ba5c1436ff
Show ENFORCED keyword in INFO statement (#4635) 2024-08-29 14:12:23 +01:00
Tobie Morgan Hitchcock
93a9ba3cb6
Improve array function implementations, and improve value::diff() and value::patch() functions (#4612) 2024-08-27 16:34:40 +01:00
Rushmore Mushambi
e9b36ba162
Bump MSRV to 1.80 (#4619) 2024-08-27 14:36:47 +00:00
Rushmore Mushambi
9ca3a4d087
Fix PatchOp::change API (#4616) 2024-08-27 12:24:22 +00:00
Raphael Darley
4775bf6b08
Add insert relation methods (#4566)
Co-authored-by: Emmanuel Keller <emmanuel.keller@surrealdb.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-08-27 11:08:40 +00:00
Gerard Guillemas Martos
91f9260ea1
Fixes to the SurrealDB Rust API for public consumption (#4613) 2024-08-27 10:45:03 +00:00
Micha de Vries
876e55918f
surreal fix command (#4605)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-08-27 09:20:53 +00:00
Micha de Vries
5165a34a27
Revision Value::Range, Id::Uuid, DefineStatement::Scope and DefineStatement::Token (#4586)
Co-authored-by: Emmanuel Keller <emmanuel.keller@surrealdb.com>
2024-08-26 10:57:18 +00:00
Tobie Morgan Hitchcock
f4e3d4f4e2
Add value::diff() and value::patch() functions (#4608) 2024-08-25 15:13:23 +01:00
Tobie Morgan Hitchcock
419f5d52c7
Change meta functions to record and add record::exists() function (#4602) 2024-08-25 10:01:43 +01:00
Dmitrii Blaginin
687c8b662e
Compute ID in create statement (#4468)
Co-authored-by: Emmanuel Keller <emmanuel.keller@surrealdb.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-08-23 15:55:23 +00:00
Mees Delzenne
4c0e9aeef5
Update revision (#4595) 2024-08-23 16:00:24 +01:00
Emmanuel Keller
0b5d79cae0
[Feat] SELECT ORDER should use the index iterator when available (#4525) 2024-08-23 14:40:34 +01:00