Mees Delzenne
daf6743c4e
Miscellaneous parser improvements ( #2515 )
2023-08-29 11:50:00 +01:00
Tobie Morgan Hitchcock
f01da5f577
Delay Record ID generation when using functions ( #2469 )
2023-08-20 04:27:20 +01:00
Tobie Morgan Hitchcock
b2b51b54b1
Add versioned data storage serialisation ( #2433 )
2023-08-17 19:03:46 +01: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
Tobie Morgan Hitchcock
19b0920e15
Ensure Idiom
paths result in writeable transactions where necessary ( #1957 )
2023-05-09 18:17:29 -04:00
Finn Bear
c295cb0509
Optimization - Zero copy key deserialization. ( #1880 )
2023-04-29 17:44:09 +01:00
Rushmore Mushambi
91e949248d
Unify serialisation ( #1881 )
2023-04-29 16:58:22 +01:00
Tobie Morgan Hitchcock
66b105dac0
Add support for stricter typings ( #1861 )
...
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
2023-04-25 11:13:04 +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
Tobie Morgan Hitchcock
bb0b10e38a
Add functionality to generate different Record IDs
...
Closes #1353
2023-01-17 09:53:47 +00:00
Tobie Morgan Hitchcock
a4db0d8427
Ensure parameters in record ranges are computed
2022-11-03 10:55:47 +00:00
Allen Lantz
d1055e6088
Implement hashed implementation of Uniq<Array>
( #1310 )
2022-10-27 05:23:24 -07:00
Tobie Morgan Hitchcock
67eb4b97a1
Fix tests 😖
2022-10-19 15:48:50 +01:00
Tobie Morgan Hitchcock
ad6ee5b42d
Add some additional code comments
2022-10-19 10:55:19 +01:00
Tobie Morgan Hitchcock
c63fc47bc0
Ensure Record IDs with string-based integers, are output correctly
...
Closes #1327
2022-10-17 00:05:38 +01:00
Tobie Morgan Hitchcock
e6eb6168a1
Simplify parsing of string based types
2022-10-16 21:35:50 +01:00
Finn Bear
45e1a9adce
Refactor, optimization, cleanup ( #1288 )
2022-10-04 22:51:18 +01:00
Tobie Morgan Hitchcock
6a3b1d99b5
Ensure Record IDs are parsed as integers consistently
...
Closes #149
2022-09-14 23:40:19 +01:00
Tobie Morgan Hitchcock
82e347027d
Enable support for dynamic expressions in record IDs
2022-09-04 10:52:01 +01:00
Tobie Morgan Hitchcock
e4a7ef4afe
Add parser tests for complex Record IDs
2022-08-27 00:33:52 +01:00
Tobie Morgan Hitchcock
6ef120f7ce
Ensure record ids are escaped properly in JSON format
2022-07-06 10:09:21 +01:00
Tobie Morgan Hitchcock
073c15b826
Escape record id parts like ⟨this⟩ rather than this
2022-07-06 10:08:11 +01:00
Tobie Morgan Hitchcock
d0c37f4d66
Enable parsing of thing records inside strings
...
This allows for thing records to be parsed within JSON strings.
2022-07-03 20:28:30 +01:00
Tobie Morgan Hitchcock
c0a78d8470
Implement graph traversal functionality
2022-06-15 08:49:57 +01:00
Tobie Morgan Hitchcock
a8fa9ecfb7
Only support strings or integers for Record IDs
2022-06-08 08:39:09 +01:00
Tobie Morgan Hitchcock
61b1e547b6
Always use simplified serialization unless specified explicitly
2022-05-21 10:07:32 +01:00
Tobie Morgan Hitchcock
15fc4a0126
Ensure statements are properly escaped when output as a string
2022-05-15 09:42:32 +01:00
Tobie Morgan Hitchcock
cbdba0a117
Implement INDEX clauses
2022-04-09 13:33:39 +01:00
Tobie Morgan Hitchcock
24752a75d9
Enable support for numbers and strings in record ids
2022-03-18 07:24:36 +00:00
Tobie Morgan Hitchcock
73df91a438
Use BigDecimal for large number handling
2022-03-17 21:55:32 +00:00
Tobie Morgan Hitchcock
5d554d07d3
Use char instead of str for parsing where possible
2022-03-16 23:53:31 +00:00
Tobie Morgan Hitchcock
64c02896dd
Implement record storing and fetching
2022-03-07 18:11:44 +00:00
Tobie Morgan Hitchcock
d5c53b7791
Extract core surrealdb code into separate library
2022-02-22 14:16:50 +00:00