Commit graph

210 commits

Author SHA1 Message Date
Emmanuel Keller
0b56d5c6c6
feat: WITH clause on SELECT statement () 2023-07-21 18:41:36 +00:00
Emmanuel Keller
063f4e6665
feat: implements Multi-index execution plan () 2023-07-20 12:56:32 +00:00
Tobie Morgan Hitchcock
773cb5f130
Add insert method to WebSocket RPC endpoint () 2023-07-20 09:19:36 +00:00
hchockarprasad
a2ef2d83df
Make what parser to parse idioms as well () 2023-07-15 16:26:36 +00:00
Tobie Morgan Hitchcock
1d6c12e777
Update dependencies and reduce log traces () 2023-07-15 13:18:44 +01:00
Tobie Morgan Hitchcock
a12348db8e
Path processing improvements () 2023-07-15 07:08:26 +00:00
Eduardo Pereira de Sousa
b3a1b39236
Feature: Add additional functions for comparing strings for similarity. ()
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-07-14 20:37:52 +00:00
Tobie Morgan Hitchcock
5c08be973d
Revert "Update js functions to new rquickjs version" () 2023-07-14 16:01:12 +00:00
Mees Delzenne
4f4339848e
Update js functions to new rquickjs version () 2023-07-14 13:35:32 +00:00
Emmanuel Keller
1e30eb4aa1
feat: Implements SELECT/EXPLAIN FULL () 2023-07-14 12:22:37 +00:00
Emmanuel Keller
e9eeb9aca7
QueryPlanner / indexing / Context / Cursor doc () 2023-07-06 14:57:42 +00:00
Tobie Morgan Hitchcock
4b690c763b
Improve datastore configuration options () 2023-07-05 21:26:13 +00:00
Rushmore Mushambi
315c6e1125
Change uuid serialisation to compact () 2023-07-01 22:55:00 +00:00
Tobie Morgan Hitchcock
31ccb0c904
Enable inner field access on sql::Geometry types () 2023-07-01 21:04:24 +00:00
Tobie Morgan Hitchcock
55918b7c0e
Switch to bincode serialization ()
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
2023-07-01 20:09:15 +01:00
Finn Bear
41e119a5f5
Feature - unary operators () 2023-06-21 00:31:23 +01:00
Nrishinghananda Roy
5485883d3c
Fix multiple Clippy Lints () 2023-06-20 12:48:20 +01:00
Emmanuel Keller
668d3fd8fb
Introduce query planner and indexing () 2023-06-19 19:41:13 +01:00
Finn Bear
12cb551156
Change datetime to serialize as secs/nanos instead of string. () 2023-06-13 21:13:10 +00:00
Gustavo
e42c8fdb1a
fix: Value equal implementation in the Bool match case ()
Co-authored-by: tavindev <tavindev>
2023-06-13 18:00:16 +00:00
Finn Bear
5ebf4ee963
Refactor - consolidate Field enum to reduce redundancy. () 2023-06-10 20:23:22 +00:00
Finn Bear
c45fd12509
Feature - Use rust_decimal (128b) instead of bigdecimal ("arbitrary" precision) () 2023-06-09 15:23:30 +00:00
Tobie Morgan Hitchcock
f5f10d508f
Improve type casting support ()
Co-authored-by: Finn Bear <finnbearlabs@gmail.com>
2023-06-06 06:12:59 +00:00
Finn Bear
0d658842df
Bugfix - Error instead of panic when applying malformed patches. () 2023-05-19 22:02:43 +01:00
hchockarprasad
11543f7d67
Feature: Add unset clause for update statement () 2023-05-18 09:04:40 +01:00
hchockarprasad
a8f35611c2
Bugfix - Include index part when patching object value () 2023-05-15 21:22:13 +01:00
Finn Bear
10f29fbb26
Bugfix - error on integer overflow in SurrealQL. () 2023-05-12 19:55:52 -04:00
Rushmore Mushambi
f1ef3bfd21
Add a sql::Value::into_json() method () 2023-05-10 08:12:47 -04:00
Tobie Morgan Hitchcock
19b0920e15
Ensure Idiom paths result in writeable transactions where necessary () 2023-05-09 18:17:29 -04:00
Finn Bear
ccc16fa9a7
Feature - Expand support for Bytes () 2023-05-09 16:43:16 -04:00
Finn Bear
73374d4799
Bugfix - Prevent NUL bytes from existing in UTF-8 strings () 2023-05-09 13:48:14 -04:00
Tobie Morgan Hitchcock
bfbadc6fdd
Ensure user $input is accessible with all Data pattern types () 2023-05-07 13:33:32 +01:00
Tobie Morgan Hitchcock
531e75a5b0
Ensure chained future values have access to current document context () 2023-05-06 07:29:42 +01:00
Tobie Morgan Hitchcock
53212b23be
Don’t use asynchronous functions when not necessary () 2023-05-06 01:15:03 +01:00
Tobie Morgan Hitchcock
e725b3e8e6
Add detailed code comments for Value enum variants () 2023-05-06 00:53:26 +01:00
Tobie Morgan Hitchcock
453d368e69
Add integration tests for the built-in SQL functions () 2023-04-30 19:34:26 +01:00
Rushmore Mushambi
1e8903b699
Derive Serialize implementations for enums () 2023-04-29 21:50:25 +01:00
Rushmore Mushambi
91e949248d
Unify serialisation () 2023-04-29 16:58:22 +01:00
Finn Bear
eeb46468aa
Bugfix - ensure futures are evaluated in the course of Value::get. () 2023-04-25 23:58:50 +01:00
Tobie Morgan Hitchcock
66b105dac0
Add support for stricter typings ()
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
2023-04-25 11:13:04 +01:00
Tobie Morgan Hitchcock
3c027e9e2f
Simplify external API and cleanup unused functions () 2023-04-24 21:51:35 +01:00
Finn Bear
f159187dbe
Store parsed regex::Regex in Value. () 2023-04-23 12:55:18 +01:00
Rushmore Mushambi
bc7471a6ad
Add support for serialising sql::Kind in the serialiser () 2023-04-23 12:09:04 +01:00
Finn Bear
28bd007f72
Limit the number of concurrent futures run when fetching remote records () 2023-04-18 22:32:29 +01:00
Finn Bear
c9a9336fdc
Improve performance and security of simple JSON parser () 2023-04-17 15:39:37 +01:00
Tobie Morgan Hitchcock
7448cd1305 Ensure custom functions can write data
Closes 
2023-04-14 16:51:15 +01:00
Tobie Morgan Hitchcock
b5afc4a3e0 Fix serialization size checking tests 2023-04-02 18:56:45 +01:00
Tobie Morgan Hitchcock
ae13289745 Use larger serialization format while in beta 2023-04-02 17:40:44 +01:00
Rushmore Mushambi
65f1957256
Ensure Value::Bytes serialises correctly () 2023-04-02 13:24:43 +01:00
Tobie Morgan Hitchcock
3b7a3a5a35 Use larger serialization format while in beta 2023-04-02 00:48:56 +01:00