Commit graph

56 commits

Author SHA1 Message Date
Mees Delzenne
209c145ad0
Remove flume (#4367) 2024-07-19 10:09:54 +00:00
Mees Delzenne
3b1a1f0348
Fix warnings, simplify connection trait (#4366) 2024-07-18 13:33:22 +00:00
Tobie Morgan Hitchcock
bfc474e4d8
Refactor transaction, caching, and key-value store interfaces (#4257)
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-07-17 22:44:05 +00:00
Mees Delzenne
07a88383fa
Minor lib improvements (#4261) 2024-07-05 09:19:04 +00:00
Raphael Darley
7965c0031f
Remove obsolete lifetime and type parameter (#4296) 2024-07-03 15:02:14 +00:00
Mees Delzenne
3539eac25d
Restructure the parser around the concept of token gluing. (#4081) 2024-06-12 13:52:08 +00:00
Tobie Morgan Hitchcock
112df064fd
Add UPSERT statement (#4163) 2024-06-12 09:15:09 +00:00
Mees Delzenne
1e0eddceaa
Restructure the Query struct in the rust library (#4145) 2024-06-11 12:01:58 +00:00
Gerard Guillemas Martos
e38b891e62
Consolidate authentication methods (#3988)
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-05-22 13:57:25 +00:00
Mees Delzenne
061ad8c712
Update rquickjs dependency (#3942) 2024-05-08 11:00:54 +00:00
Rushmore Mushambi
2fbb4f4617
Add #[non_exhaustive] to core structs and enums (#3781) 2024-04-02 20:12:08 +00:00
Dave MacLeod
f1cc3c8d14
[Documentation] Improve Rust client code samples a bit (#3699) 2024-03-20 17:11:55 +00:00
Rushmore Mushambi
ec3bb1f659
Add insert method to the Rust SDK (#3720) 2024-03-20 11:24:24 +00:00
Dave MacLeod
d672b34d72
[Documentation] Add example of .take() for error handling to query method (#3610) 2024-03-07 09:34:19 +00:00
Rushmore Mushambi
9d2fe88717
Add Surreal::wait_for (#3581) 2024-02-29 12:09:01 +00:00
Rushmore Mushambi
d55d1a3b6e
Implement revision types for client/server communication (#3474) 2024-02-12 11:52:36 +00:00
Rushmore Mushambi
454509e4d1
Update dependencies and add ml2 feature (#3385) 2024-02-09 19:31:16 +00:00
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
Rushmore Mushambi
c5138245a0
Add support for LIVE SELECT in the SDK and CLI (#3309) 2024-01-16 11:48:29 +00:00
Rushmore Mushambi
7b197c2acd
impl Drop for live::Stream (#3215) 2023-12-30 10:45:53 +00:00
Rushmore Mushambi
161bd8d24c
Refactor live query API to improve consistency and code reuse (#3182) 2023-12-20 13:00:09 +00:00
Rushmore Mushambi
23d67305f5
Fix deserialisation and HTTP engine regressions (#3180) 2023-12-20 10:31:19 +00:00
Maxwell Flitton
2ae8416791
Add support for ML model storage and execution (#3015) 2023-12-12 13:51:43 +00:00
Rushmore Mushambi
69572e9e6b
Make all futures easier to send across threads (#3053) 2023-12-01 15:25:28 +00:00
Rushmore Mushambi
a8ed51f629
Make Stream easier to send across threads (#3042) 2023-11-29 09:35:52 +00:00
Rushmore Mushambi
3baf1c6ea9
Add Query::with_stats to return query statistics along with the results (#3019) 2023-11-27 19:13:52 +00:00
Tobie Morgan Hitchcock
3f43e741c2
Improve WebSocket performance (#2999)
Co-authored-by: Salvador Girones Gil <salvadorgirones@gmail.com>
2023-11-20 19:08:07 +00:00
Rushmore Mushambi
2d19ac9f7a
Add live query API (#2919)
Co-authored-by: Emmanuel Keller <keller.emmanuel@gmail.com>
2023-11-13 17:19:47 +00:00
Micha de Vries
05907db1ea
Fix #2513 - Query results should be consistent and representative (#2887) 2023-10-26 10:05:44 +00:00
Rushmore Mushambi
4259e05413
Fix relative paths (#2615) 2023-09-05 07:38:39 +01:00
Tobie Morgan Hitchcock
abb5ce00db
Ensure incorrect data causes error (#2559) 2023-09-04 18:54:17 +01:00
Rushmore Mushambi
742a353a8f
Refactor and improve Surreal::export (#2555) 2023-08-31 19:44:18 +00:00
Rushmore Mushambi
fd364e56da
Make tick a configuration option (#2495) 2023-08-25 07:55:22 +00:00
Rushmore Mushambi
6cfc270d32
Run rustfmt and clippy using Rust 1.72.0 (#2512) 2023-08-24 19:02:44 +00:00
Rushmore Mushambi
9d89fa0d56
Simplify connect parameters (#2488) 2023-08-22 09:23:49 +00:00
Rushmore Mushambi
74c3551b45
Remove unnecessary impl From<Jwt> for Value (#2483) 2023-08-21 15:09:00 +01:00
Tobie Morgan Hitchcock
44dabfa9d2
Improve DEFINE and REMOVE statements code (#2455) 2023-08-18 14:21:02 +01:00
Yusuke Kuoka
a242d21d94
feat: Ability to show changes using timestamp (#2408) 2023-08-18 08:17:54 +01:00
Rushmore Mushambi
78808bb44c
Refactor Lazy::new(|| Surreal::init()) to Lazy::new(Surreal::init) (#2432) 2023-08-11 22:11:24 +00:00
Rushmore Mushambi
61f4580ba8
Switch to std::sync::OnceLock and fix Surreal::clone (#2370) 2023-08-10 06:33:38 +00:00
Raphael Darley
4ae1a0d1a9
Allow more export options (#2375)
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
2023-08-09 12:15:20 +00:00
Salvador Girones Gil
998b263517
[iam] RBAC and multiple root users (#2176)
Co-authored-by: Przemyslaw Hugh Kaznowski <hughkaznowski@protonmail.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-07-29 18:47:25 +00:00
Raphael Darley
c25b85669b
feature: Add config for query/transaction timeout and notifications (#2340) 2023-07-26 11:54:48 +00:00
Rushmore Mushambi
409ad61477
Add authentication support for local engines (#1908) 2023-06-09 13:45:07 +00:00
David Bottiau
f6c909e1a2
Fix doc on select example (#2064) 2023-05-28 12:06:08 +01:00
Rushmore Mushambi
fb6f1caa6b
Lift 'static restriction on connect methods (#1926) 2023-05-05 19:14:06 +01:00
Rushmore Mushambi
107e5b5dba
Support switching namespaces and databases separately (#1927) 2023-05-05 19:12:19 +01:00
Rushmore Mushambi
141eb091a6
Bypass deserialisation for sql::Value responses on Surreal methods (#1875) 2023-04-28 12:20:57 +01:00
Rushmore Mushambi
e6b97ff8ff
Refactor the Connection trait and Surreal methods (#1860) 2023-04-25 15:22:34 +01:00
Rushmore Mushambi
78625bc7a1
Bypass deserialisation for sql::Values on Response::take (#1834) 2023-04-20 19:20:50 +01:00