Tobie Morgan Hitchcock
112df064fd
Add UPSERT statement ( #4163 )
2024-06-12 09:15:09 +00:00
Rushmore Mushambi
2fbb4f4617
Add #[non_exhaustive]
to core structs and enums ( #3781 )
2024-04-02 20:12:08 +00:00
Pratim
3dc00c8229
Add integration test for rocket ( #3785 )
...
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-04-02 08:42:06 +00:00
Mees Delzenne
567832825a
Implement reblessive into the parser to prevent any overflows. ( #3591 )
2024-03-22 20:50:11 +00:00
Pratim
a21b025f01
Rocket example ( #3713 )
...
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
Co-authored-by: Rushmore Mushambi <rushmore@webenchanter.com>
2024-03-20 17:10:07 +00:00
Pratim
04c8b864cd
Fix Axum example warnings ( #3585 )
2024-02-26 10:47:35 +00:00
Pratim
c83928be13
Refactor the Axum example ( #3542 )
2024-02-19 15:11:58 +00:00
Flint6872
d4cc3272da
Upgrade Axum example to Axum 0.7.2 ( #3172 )
...
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
2023-12-18 12:53:25 +00:00
Tobie Morgan Hitchcock
73d66ed2be
Update 3rd party dependencies ( #3026 )
2023-11-27 10:23:26 +00:00
Rushmore Mushambi
98e866dfd1
Add FETCH example ( #2981 )
2023-11-15 09:44:02 +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
Tobie Morgan Hitchcock
b2b51b54b1
Add versioned data storage serialisation ( #2433 )
2023-08-17 19:03:46 +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
Tobie Morgan Hitchcock
09dde86e73
Allow for DIFFs in notifications for simple live queries ( #2290 )
2023-07-19 16:19:19 +00:00
Tobie Morgan Hitchcock
1d6c12e777
Update dependencies and reduce log traces ( #2265 )
2023-07-15 13:18:44 +01:00
Tobie Morgan Hitchcock
8474329451
Update 3rd party dependencies ( #2207 )
2023-07-03 14:30:42 +00:00
Tobie Morgan Hitchcock
b137535d8a
Update 3rd party dependencies ( #2028 )
2023-05-22 14:38:10 +01:00
Rushmore Mushambi
141eb091a6
Bypass deserialisation for sql::Value
responses on Surreal
methods ( #1875 )
2023-04-28 12:20:57 +01:00
Tobie Morgan Hitchcock
c5de4d8ef0
Update 3rd party dependencies
2023-04-14 17:01:31 +01:00
J
5d929041cb
Remove http crate from axum example ( #1789 )
2023-04-09 16:55:17 +01:00
Rushmore Mushambi
179878d672
Add compile-time guarantees to make Surreal::delete
safer ( #1753 )
2023-03-31 23:49:29 +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
33cbe6528f
Upgrade 3rd party dependencies
2023-03-30 11:08:36 +01:00
Tobie Morgan Hitchcock
2769033451
Update 3rd party dependencies
2023-03-25 20:49:00 +00:00
Rushmore Mushambi
735856e5b3
Add Axum example ( #1715 )
2023-03-20 15:20:57 +00:00
Tobie Morgan Hitchcock
d3e7936d5e
Temporarily remove sql! parser runtime macro
...
Closes #1643
2023-02-09 10:53:19 +00:00
Tobie Morgan Hitchcock
48756a0a96
Update 3rd party dependencies
...
Closes #1642
2023-02-07 08:44:25 +00:00
Tobie Morgan Hitchcock
8f89f8729c
Update 3rd party dependencies
...
Closes #1593
2023-01-17 09:00:30 +00:00
Rushmore Mushambi
953a2008e2
Rename the engines
module to engine
( #1576 )
2023-01-07 08:32:18 +00:00
Rushmore Mushambi
c2dce39f91
Integrate client library into surrealdb
crate ( #1514 )
2022-12-30 08:23:19 +00:00