Przemyslaw Hugh Kaznowski
769ed5ab85
Sur 253 Change Cl->Nd, rework key/mod ( #2257 )
...
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-07-18 18:32:38 +00:00
Emmanuel Keller
1e30eb4aa1
feat: Implements SELECT/EXPLAIN FULL ( #2258 )
2023-07-14 12:22:37 +00: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
ee3a1c211f
Select/Explain should only return the explanation ( #2256 )
2023-07-13 10:12:34 +00:00
Tobie Morgan Hitchcock
ea76b01ce4
Minor improvements to live queries ( #2230 )
2023-07-07 20:05:58 +01:00
Emmanuel Keller
e9eeb9aca7
QueryPlanner / indexing / Context / Cursor doc ( #2229 )
2023-07-06 14:57:42 +00:00
Tobie Morgan Hitchcock
4b690c763b
Improve datastore configuration options ( #2227 )
2023-07-05 21:26:13 +00:00
Emmanuel Keller
67687496c6
Fix context cancellation issue ( #2212 )
2023-07-05 13:30:44 +00:00
Rushmore Mushambi
20ee2f1dc6
Remove manual log targets ( #2214 )
2023-07-04 21:02:10 +00:00
Tobie Morgan Hitchcock
bba3ba036d
Ensure PARALLEL
statements use indexes ( #2206 )
2023-07-03 08:18:20 +00:00
Tobie Morgan Hitchcock
55918b7c0e
Switch to bincode serialization ( #2134 )
...
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
2023-07-01 20:09:15 +01:00
Yusuke Kuoka
d1cf55764d
feat: SHOW statement for change feed reading ( #2187 )
2023-06-28 07:36:13 +00:00
Emmanuel Keller
6d5dcfadd9
Feature - Full-text search scoring function ( #2158 )
2023-06-23 21:26:19 +01:00
Emmanuel Keller
8e64750a60
Feature - Search highlighting ( #2132 )
2023-06-21 19:31:15 +01:00
Przemyslaw Hugh Kaznowski
64adb2e913
Rebased live query changes ( #2136 )
2023-06-20 23:50:26 +01:00
Nrishinghananda Roy
5485883d3c
Fix multiple Clippy
Lints ( #2159 )
2023-06-20 12:48:20 +01:00
Maxwell Flitton
e389e51b7f
adding comments ( #2147 )
2023-06-19 18:44:40 +00:00
Emmanuel Keller
668d3fd8fb
Introduce query planner and indexing ( #1899 )
2023-06-19 19:41:13 +01:00
Finn Bear
5c07a7b2d4
Security - Add global query timeouts (attempt 2). ( #2097 )
2023-06-12 12:23:30 +01:00
Finn Bear
5ebf4ee963
Refactor - consolidate Field
enum to reduce redundancy. ( #2104 )
2023-06-10 20:23:22 +00:00
Finn Bear
e835d27ecc
Feature - Add message to query not executed error. ( #2049 )
2023-05-31 07:36:15 +00:00
Finn Bear
5e0e72def2
Bugfix - ret. QueryNotExecuted if implicit txn. fails to commit. ( #2039 )
2023-05-23 23:03:59 +01:00
Finn Bear
3d76645908
Bugfix #1946 - allow 4X deeper computation by default, make limit configurable ( #1950 )
2023-05-09 07:37:07 +01:00
Tobie Morgan Hitchcock
f0e5753cd1
Use static str where possible for context param names ( #1942 )
2023-05-06 21:49:34 +01:00
Tobie Morgan Hitchcock
531e75a5b0
Ensure chained future
values have access to current document context ( #1939 )
2023-05-06 07:29:42 +01:00
Tobie Morgan Hitchcock
c7e3b927ac
Optimisation - only loop over document fields when processing PERMISSIONS clauses ( #1890 )
2023-04-30 00:23:19 +01:00
Rushmore Mushambi
1e8903b699
Derive Serialize
implementations for enums ( #1887 )
2023-04-29 21:50:25 +01:00
Finn Bear
7e5f4388a2
Refactor and reduce allocations in query executor. ( #1819 )
2023-04-20 13:30:47 +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
Salvador Girones Gil
565717659a
Add functionality for open telemetry tracing ( #1727 )
2023-03-29 19:16:18 +01:00
Tobie Morgan Hitchcock
cad596cdf3
Ensure GROUP BY clauses with multi same-aggregate functions work correctly
...
Closes #1731
2023-03-26 10:04:18 +01:00
Tobie Morgan Hitchcock
42725789a0
Upgrade Rust code deprecation warnings
2023-03-18 09:18:40 +00:00
Tobie Morgan Hitchcock
5e2236dbfd
Add initial implementation for processing LIVE
queries
2023-02-22 18:04:30 +00:00
Tobie Morgan Hitchcock
132354e199
Fix typo in code comment
2023-02-18 18:30:23 +00:00
Tobie Morgan Hitchcock
84b026679f
Update clippy linting tests
2023-02-03 11:47:07 +00:00
Rushmore Mushambi
005b27eae8
Drop the parallel
feature ( #1574 )
2023-01-07 09:42:45 +00:00
Rushmore Mushambi
c2dce39f91
Integrate client library into surrealdb
crate ( #1514 )
2022-12-30 08:23:19 +00:00
CelebrateVC
f0745386cf
Improve code comments for documentation ( #1476 )
2022-11-23 09:42:59 +00:00
Tobie Morgan Hitchcock
2323222f2d
Don’t take response output by reference
2022-11-23 09:11:58 +00:00
Tobie Morgan Hitchcock
65f219ffe5
Ensure system parameters are not able to be overridden
2022-11-01 23:55:33 +00:00
Tobie Morgan Hitchcock
12b6e04539
Implement inclusive and unbounded record ranges
...
Closes #1412
Closes #1413
2022-10-30 01:32:27 +00:00
Tobie Morgan Hitchcock
e9364d2efd
Ensure GROUP BY fields with functions are output correctly
2022-10-25 18:04:00 -07:00
Tobie Morgan Hitchcock
2e1d39fcf8
Remove unused Response to Value conversion implementation
2022-10-25 06:05:02 -07:00
Tobie Morgan Hitchcock
50a2c25688
Ensure cancelled context does not prevent FETCH of records
...
Closes #1395
2022-10-22 22:19:12 +01:00
Tobie Morgan Hitchcock
0a4b810fbd
Allow parameters in LIMIT and START clauses in SQL SELECT statements
...
Closes #1332
Closes #116
2022-10-17 02:57:53 +01:00
Tobie Morgan Hitchcock
0bc798cbe0
Remove SQL debugging functionality
2022-10-16 17:36:07 +01:00
Finn Bear
88100854a8
Limit computation depth in functions, futures, and subqueries. ( #241 )
2022-10-06 17:35:03 +01:00
Tobie Morgan Hitchcock
7cd8bab75c
Ensure FETCH clauses fetch the respective data correctly
...
Closes #249
2022-09-30 21:42:33 +01:00
Tobie Morgan Hitchcock
016455025c
Ensure LET statements throw errors correctly on failure
2022-09-25 10:56:57 +01:00
Finn Bear
b31dbb28fe
Miscellaneous performance optimizations and code cleanup ( #240 )
2022-09-23 00:54:53 +01:00