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
Nathaniel Brough
5d176d4c77
fuzz: Add structured executor ( #3285 )
2024-01-09 15:34:52 +00:00
Mees Delzenne
256a08a396
Factor out the parser into its own module. ( #2979 )
2023-11-18 13:56:13 +00:00
Mees Delzenne
b02567d233
Improved error messages ( #2566 )
2023-09-08 11:28:36 +00:00
Mees Delzenne
daf6743c4e
Miscellaneous parser improvements ( #2515 )
2023-08-29 11:50:00 +01:00
Tobie Morgan Hitchcock
b2b51b54b1
Add versioned data storage serialisation ( #2433 )
2023-08-17 19:03:46 +01:00
Przemyslaw Hugh Kaznowski
ac213d69bb
Sur 191 self garbage collection 2 ( #2137 )
...
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-07-13 13:44:54 +00:00
Emmanuel Keller
e9eeb9aca7
QueryPlanner / indexing / Context / Cursor doc ( #2229 )
2023-07-06 14:57:42 +00:00
Emmanuel Keller
668d3fd8fb
Introduce query planner and indexing ( #1899 )
2023-06-19 19:41:13 +01:00
Finn Bear
b389b104aa
Bugfix #1316 - fix 2 of 3 problems with impl Ord for Number
( #2114 )
2023-06-09 16:53:22 +00:00
Finn Bear
31af5dd4d3
Feature - Add time::EPOCH
constant. ( #2021 )
2023-05-20 08:28:52 +01:00
Tobie Morgan Hitchcock
19b0920e15
Ensure Idiom
paths result in writeable transactions where necessary ( #1957 )
2023-05-09 18:17:29 -04:00
Rushmore Mushambi
1e8903b699
Derive Serialize
implementations for enums ( #1887 )
2023-04-29 21:50:25 +01:00
Rushmore Mushambi
91e949248d
Unify serialisation ( #1881 )
2023-04-29 16:58:22 +01:00
Rushmore Mushambi
955aea9409
impl From<sql::Value> for serde_json::Value ( #1877 )
2023-04-29 09:06:02 +01:00
Tobie Morgan Hitchcock
8bf5585080
Simplify parser and improve performance
2023-04-17 13:09:56 +01:00
Rushmore Mushambi
3e80aa9914
Implement to_value
for sql::Value
( #1659 )
...
`sql::Value` is an integral part of `surrealdb`. It's the internal type used by our storage layer. Because of this, we do a lot of converting between this type and native Rust types. Currently this conversion is done through `JSON` using the `serde_json` crate because we do not have our own custom data format implementation. This works because `SQL` is a superset of `JSON`. This, however, means that this conversion is lossy and can cause surprises in some cases. For example expecting record IDs to be deserialized into a `String` instead of its corresponding Rust native type.
This change implements a custom data format around `sql::Value` and introduces a `to_value` function that facilitates that conversion.
2023-03-30 11:41:44 +01:00
Allen Lantz
d1055e6088
Implement hashed implementation of Uniq<Array>
( #1310 )
2022-10-27 05:23:24 -07:00
Finn Bear
45e1a9adce
Refactor, optimization, cleanup ( #1288 )
2022-10-04 22:51:18 +01:00
Tobie Morgan Hitchcock
66b182ec7d
Add explicit Constant type for SurrealQL constants
2022-10-01 15:55:48 +01:00
oricc
176c9f692c
Add support for constants, and add math constants ( #1263 )
2022-09-30 22:22:00 +01:00